diff options
author | Matt Kraai <kraai@debian.org> | 2001-08-27 15:08:57 +0000 |
---|---|---|
committer | Matt Kraai <kraai@debian.org> | 2001-08-27 15:08:57 +0000 |
commit | 861e624e15a0f587d9507d7387541e6cdbad565c (patch) | |
tree | 1f11104ba8e02002e158733050325b6a371c6687 | |
parent | 449377aa6a8cb6b75d3b6aff6af7aade3174b2f3 (diff) |
Fix ash exec (noted by Arne Bernin).
-rw-r--r-- | Changelog | 1 | ||||
-rw-r--r-- | applets.c | 2 | ||||
-rw-r--r-- | applets/applets.c | 2 |
3 files changed, 3 insertions, 2 deletions
@@ -18,6 +18,7 @@ * Matt Kraai -- Fix sed s/[/]// handling (closes: #1208). -- Fix `-/bin/sh' invocation (closes: #1209). + -- Fix ash exec (noted by Arne Bernin). -Erik Andersen, --not yet released-- @@ -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--; } diff --git a/applets/applets.c b/applets/applets.c index ca2de87d4..ffa806ebc 100644 --- a/applets/applets.c +++ b/applets/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--; } |