diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-06 01:20:12 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-02-06 01:20:12 +0000 |
commit | 1d76f439da81d3a05f0e0fdde3f81ec56fb20836 (patch) | |
tree | f3e2e2185d092f87843fe4bbc9d1098185a5bdbd /console-tools | |
parent | cc24419e98853aede7c652edb3c1c79a9865bdda (diff) | |
download | busybox-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 'console-tools')
-rw-r--r-- | console-tools/openvt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/openvt.c b/console-tools/openvt.c index 9296219bd..eb9f49fe2 100644 --- a/console-tools/openvt.c +++ b/console-tools/openvt.c | |||
@@ -36,7 +36,7 @@ int openvt_main(int argc, char **argv) | |||
36 | dup2(fd, STDERR_FILENO); | 36 | dup2(fd, STDERR_FILENO); |
37 | while (fd > 2) close(fd--); | 37 | while (fd > 2) close(fd--); |
38 | 38 | ||
39 | execvp(argv[2], &argv[2]); | 39 | BB_EXECVP(argv[2], &argv[2]); |
40 | _exit(1); | 40 | _exit(1); |
41 | } | 41 | } |
42 | return EXIT_SUCCESS; | 42 | return EXIT_SUCCESS; |