28653a
commit 5fce0e095bc413f908f472074c2235198cd76bf4
28653a
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
28653a
Date:   Tue Mar 24 15:36:23 2020 -0300
28653a
28653a
    support/shell-container.c: Return 127 if execve fails
28653a
    
28653a
    Reviewed-by: DJ Delorie <dj@redhat.com>
28653a
28653a
diff --git a/support/shell-container.c b/support/shell-container.c
28653a
index e87ac5cf1baa84e5..e9eea64bca7e949d 100644
28653a
--- a/support/shell-container.c
28653a
+++ b/support/shell-container.c
28653a
@@ -238,7 +238,7 @@ run_command_array (char **argv)
28653a
 
28653a
       fprintf (stderr, "sh: execing %s failed: %s",
28653a
 	       argv[0], strerror (errno));
28653a
-      exit (1);
28653a
+      exit (127);
28653a
     }
28653a
 
28653a
   waitpid (pid, &status, 0);