summaryrefslogtreecommitdiffstats
path: root/lib/execute.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/execute.c')
-rw-r--r--lib/execute.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/execute.c b/lib/execute.c
index 7751311..b3eae00 100644
--- a/lib/execute.c
+++ b/lib/execute.c
@@ -197,7 +197,7 @@ execute (progname, prog_path, prog_argv, null_stdin, null_stdout, null_stderr, e
|| (null_stderr && nulloutfd == STDERR_FILENO)
|| close (nulloutfd) >= 0))))
execvp (prog_path, prog_argv);
- _exit (-1);
+ _exit (127);
}
if (child == -1)
{