summaryrefslogtreecommitdiff
path: root/applets.c
diff options
context:
space:
mode:
authorMatt Kraai2001-08-27 15:08:57 +0000
committerMatt Kraai2001-08-27 15:08:57 +0000
commit861e624e15a0f587d9507d7387541e6cdbad565c (patch)
tree1f11104ba8e02002e158733050325b6a371c6687 /applets.c
parent449377aa6a8cb6b75d3b6aff6af7aade3174b2f3 (diff)
downloadbusybox-861e624e15a0f587d9507d7387541e6cdbad565c.zip
busybox-861e624e15a0f587d9507d7387541e6cdbad565c.tar.gz
Fix ash exec (noted by Arne Bernin).
Diffstat (limited to 'applets.c')
-rw-r--r--applets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets.c b/applets.c
index ca2de87..ffa806e 100644
--- a/applets.c
+++ b/applets.c
@@ -99,7 +99,7 @@ void run_applet_by_name(const char *name, int argc, char **argv)
if (recurse_level == 1) {
run_applet_by_name("busybox", argc, argv);
}
- recurse_level = 0;
+ recurse_level--;
}