summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index c71bebc..f6db311 100644
--- a/command.c
+++ b/command.c
@@ -429,7 +429,7 @@ static void commandExec(uint id, char *params) {
 	dup2(utilPipe[1], STDERR_FILENO);
 
 	const char *shell = getenv("SHELL") ?: "/bin/sh";
-	execlp(shell, shell, "-c", params, NULL);
+	execl(shell, shell, "-c", params, NULL);
 	warn("%s", shell);
 	_exit(EX_UNAVAILABLE);
 }