From 9fb272a222c8c25dbd99d7c186f668516d6b3ebe Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sun, 7 May 2006 01:44:23 +0000 Subject: Dennis Vlasenko pointed out that run_applet_by_name sets bb_applet_name already. --- applets/busybox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applets') 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"); } -- cgit v1.2.3