diff options
author | Rob Landley <rob@landley.net> | 2013-07-19 02:03:02 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2013-07-19 02:03:02 -0500 |
commit | bb504f382dc6c596e6b2b9ce04931e7fbdd15bbe (patch) | |
tree | 984d3a0fa51dc8a326d46974bed8394a91be0a20 /lib/xwrap.c | |
parent | a817a02c00a06fbf2090259320968addb5f46e58 (diff) | |
download | toybox-bb504f382dc6c596e6b2b9ce04931e7fbdd15bbe.tar.gz |
Start of TOYBOX_SINGLE support, for building standalone commands with no multiplexer.
Diffstat (limited to 'lib/xwrap.c')
-rw-r--r-- | lib/xwrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xwrap.c b/lib/xwrap.c index a0f64fd2..adf3e752 100644 --- a/lib/xwrap.c +++ b/lib/xwrap.c @@ -127,7 +127,7 @@ void xexec_optargs(int skip) // with a path isn't a builtin, so /bin/sh won't match the builtin sh. void xexec(char **argv) { - toy_exec(argv); + if (!CFG_TOYBOX_SINGLE) toy_exec(argv); execvp(argv[0], argv); perror_exit("exec %s", argv[0]); |