summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko2007-04-11 07:26:56 +0000
committerDenis Vlasenko2007-04-11 07:26:56 +0000
commitd571c08c25707174979e7617a898c305c66aa78f (patch)
tree2a80443d013ced4fca49ae44a64455ce782867c7 /libbb
parent473dae080a8a0089d5d619a56d8943d131aa451e (diff)
downloadbusybox-d571c08c25707174979e7617a898c305c66aa78f.zip
busybox-d571c08c25707174979e7617a898c305c66aa78f.tar.gz
fix misplaced #if
Diffstat (limited to 'libbb')
-rw-r--r--libbb/vfork_daemon_rexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c
index 281ead4..ce5a627 100644
--- a/libbb/vfork_daemon_rexec.c
+++ b/libbb/vfork_daemon_rexec.c
@@ -102,8 +102,8 @@ int wait_pid(int *wstat, int pid)
int spawn_and_wait(char **argv)
{
-#if ENABLE_FEATURE_PREFER_APPLETS
int rc;
+#if ENABLE_FEATURE_PREFER_APPLETS
const struct bb_applet *a = find_applet_by_name(argv[0]);
if (a && (a->nofork