aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-05-07 01:44:23 +0000
committerRob Landley <rob@landley.net>2006-05-07 01:44:23 +0000
commit9fb272a222c8c25dbd99d7c186f668516d6b3ebe (patch)
treeacc8b753cde8fbdeb3529dd5dd6f75a50530a431
parent89ede3f58628775a13a13ad366f554eb629471e2 (diff)
downloadbusybox-9fb272a222c8c25dbd99d7c186f668516d6b3ebe.tar.gz
Dennis Vlasenko pointed out that run_applet_by_name sets bb_applet_name already.
-rw-r--r--applets/busybox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/busybox.c b/applets/busybox.c
index be1f19ad2..344edc64c 100644
--- a/applets/busybox.c
+++ b/applets/busybox.c
@@ -143,7 +143,7 @@ int busybox_main(int argc, char **argv)
printf("\n\n");
exit(0);
}
- } else run_applet_by_name(bb_applet_name=argv[1], argc-1, argv+1);
+ } else run_applet_by_name(argv[1], argc-1, argv+1);
bb_error_msg_and_die("applet not found");
}