From: Adhemerval Zanella Date: Tue, 24 Mar 2020 18:36:23 +0000 (-0300) Subject: support/shell-container.c: Return 127 if execve fails X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55e77b7d8110bec77cef03078ad41cf617bd4ca8;p=thirdparty%2Fglibc.git support/shell-container.c: Return 127 if execve fails Reviewed-by: DJ Delorie (cherry picked from commit 5fce0e095bc413f908f472074c2235198cd76bf4) --- diff --git a/support/shell-container.c b/support/shell-container.c index ee3224dfd06..abf40e4167b 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);