diff options
Diffstat (limited to 'coreutils/env.c')
-rw-r--r-- | coreutils/env.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/env.c b/coreutils/env.c index b42d90435..2af15a37e 100644 --- a/coreutils/env.c +++ b/coreutils/env.c | |||
@@ -26,7 +26,7 @@ | |||
26 | * - correct "-" option usage | 26 | * - correct "-" option usage |
27 | * - multiple "-u unsetenv" support | 27 | * - multiple "-u unsetenv" support |
28 | * - GNU long option support | 28 | * - GNU long option support |
29 | * - use bb_default_error_retval | 29 | * - use xfunc_error_retval |
30 | */ | 30 | */ |
31 | 31 | ||
32 | #include "busybox.h" | 32 | #include "busybox.h" |
@@ -82,7 +82,7 @@ int env_main(int argc, char** argv) | |||
82 | if (*argv) { | 82 | if (*argv) { |
83 | execvp(*argv, argv); | 83 | execvp(*argv, argv); |
84 | /* SUSv3-mandated exit codes. */ | 84 | /* SUSv3-mandated exit codes. */ |
85 | bb_default_error_retval = (errno == ENOENT) ? 127 : 126; | 85 | xfunc_error_retval = (errno == ENOENT) ? 127 : 126; |
86 | bb_perror_msg_and_die("%s", *argv); | 86 | bb_perror_msg_and_die("%s", *argv); |
87 | } | 87 | } |
88 | 88 | ||