summaryrefslogtreecommitdiff
path: root/libbb/xfuncs.c
diff options
context:
space:
mode:
authorRob Landley2006-08-09 20:56:23 +0000
committerRob Landley2006-08-09 20:56:23 +0000
commit519d7df930d2ac14b7a833c0255a4a5abd5a329b (patch)
treead8d4242826335c7e418648d60d82a55095f11e1 /libbb/xfuncs.c
parente55a73c7a89d9437bda82d317ee980989a5949db (diff)
downloadbusybox-519d7df930d2ac14b7a833c0255a4a5abd5a329b.zip
busybox-519d7df930d2ac14b7a833c0255a4a5abd5a329b.tar.gz
Another whack at scripts/individual. Now builds 212 applets.
Diffstat (limited to 'libbb/xfuncs.c')
-rw-r--r--libbb/xfuncs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index cfb1c29..4d81fdc 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -208,7 +208,7 @@ pid_t spawn(char **argv)
{
static int failed;
pid_t pid;
- void *app = find_applet_by_name(argv[0]);
+ void *app = ENABLE_FEATURE_SH_STANDALONE_SHELL ? find_applet_by_name(argv[0]) : 0;
// Be nice to nommu machines.
failed = 0;