diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-03-24 15:36:23 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2020-03-25 09:50:45 -0300 |
commit | 5fce0e095bc413f908f472074c2235198cd76bf4 (patch) | |
tree | 32d3b5cdae9c2af50242ecb304ec7f58714d6210 | |
parent | 07d16a6debc830ebcf9533da5396edd2eff688e0 (diff) | |
download | glibc-5fce0e095bc413f908f472074c2235198cd76bf4.tar.gz glibc-5fce0e095bc413f908f472074c2235198cd76bf4.tar.xz glibc-5fce0e095bc413f908f472074c2235198cd76bf4.zip |
support/shell-container.c: Return 127 if execve fails
Reviewed-by: DJ Delorie <dj@redhat.com>
-rw-r--r-- | support/shell-container.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/shell-container.c b/support/shell-container.c index 72950bcabf..d1112d4009 100644 --- a/support/shell-container.c +++ b/support/shell-container.c @@ -238,7 +238,7 @@ run_command_array (char **argv) fprintf (stderr, "sh: execing %s failed: %s", argv[0], strerror (errno)); - exit (1); + exit (127); } waitpid (pid, &status, 0); |