Dennis Vlasenko pointed out that run_applet_by_name sets bb_applet_name already.

This commit is contained in:
Rob Landley 2006-05-07 01:44:23 +00:00
parent 89ede3f586
commit 9fb272a222

View File

@ -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");
}