diff options
author | Bruno Haible <bruno@clisp.org> | 2001-11-01 11:06:55 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-21 22:47:29 +0200 |
commit | 2290c511e83e2cb3c904ad343ff1cfea1bed6f26 (patch) | |
tree | 103e7272712cae5ff2e18ddb207eebc98b5ef71f /lib/execute.c | |
parent | f25ecbef3d68f91900ce6a24e2ba4574b7307874 (diff) | |
download | external_gettext-2290c511e83e2cb3c904ad343ff1cfea1bed6f26.zip external_gettext-2290c511e83e2cb3c904ad343ff1cfea1bed6f26.tar.gz external_gettext-2290c511e83e2cb3c904ad343ff1cfea1bed6f26.tar.bz2 |
Use return code 127, not 255, because wait_process tests on return code 127.
Diffstat (limited to 'lib/execute.c')
-rw-r--r-- | lib/execute.c | 2 |
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) { |