aboutsummaryrefslogtreecommitdiff
path: root/coreutils/env.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-02-06 01:20:12 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-02-06 01:20:12 +0000
commit1d76f439da81d3a05f0e0fdde3f81ec56fb20836 (patch)
treef3e2e2185d092f87843fe4bbc9d1098185a5bdbd /coreutils/env.c
parentcc24419e98853aede7c652edb3c1c79a9865bdda (diff)
downloadbusybox-w32-1d76f439da81d3a05f0e0fdde3f81ec56fb20836.tar.gz
busybox-w32-1d76f439da81d3a05f0e0fdde3f81ec56fb20836.tar.bz2
busybox-w32-1d76f439da81d3a05f0e0fdde3f81ec56fb20836.zip
EXEC_PREFER_APPLETS support by Gabriel L. Somlo <somlo@cmu.edu>
Diffstat (limited to 'coreutils/env.c')
-rw-r--r--coreutils/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/env.c b/coreutils/env.c
index 04279f3e0..7be0c63a5 100644
--- a/coreutils/env.c
+++ b/coreutils/env.c
@@ -81,7 +81,7 @@ int env_main(int argc, char** argv)
81 } 81 }
82 82
83 if (*argv) { 83 if (*argv) {
84 execvp(*argv, argv); 84 BB_EXECVP(*argv, argv);
85 /* SUSv3-mandated exit codes. */ 85 /* SUSv3-mandated exit codes. */
86 xfunc_error_retval = (errno == ENOENT) ? 127 : 126; 86 xfunc_error_retval = (errno == ENOENT) ? 127 : 126;
87 bb_perror_msg_and_die("%s", *argv); 87 bb_perror_msg_and_die("%s", *argv);