about summary refs log tree commit diff
path: root/support
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-03-24 15:36:23 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2020-03-25 09:50:45 -0300
commit5fce0e095bc413f908f472074c2235198cd76bf4 (patch)
tree32d3b5cdae9c2af50242ecb304ec7f58714d6210 /support
parent07d16a6debc830ebcf9533da5396edd2eff688e0 (diff)
downloadglibc-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>
Diffstat (limited to 'support')
-rw-r--r--support/shell-container.c2
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);