bb_applet_name -> applet_name

This commit is contained in:
Denis Vlasenko
2006-10-03 21:00:43 +00:00
parent 67b23e6043
commit 8f8f268cfd
45 changed files with 71 additions and 69 deletions

View File

@ -469,7 +469,7 @@ void run_applet_by_name(const char *name, int argc, char **argv)
/* Do a binary search to find the applet entry given the name. */
applet_using = find_applet_by_name(name);
if (applet_using) {
bb_applet_name = applet_using->name;
applet_name = applet_using->name;
if(argc==2 && !strcmp(argv[1], "--help")) bb_show_usage();
if(ENABLE_FEATURE_SUID) check_suid(applet_using);
exit((*(applet_using->main))(argc, argv));