diff options
Diffstat (limited to 'applets/applets.c')
-rw-r--r-- | applets/applets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/applets/applets.c b/applets/applets.c index d5b2672a0..d615ffcd8 100644 --- a/applets/applets.c +++ b/applets/applets.c | |||
@@ -469,7 +469,7 @@ void run_applet_by_name(const char *name, int argc, char **argv) | |||
469 | /* Do a binary search to find the applet entry given the name. */ | 469 | /* Do a binary search to find the applet entry given the name. */ |
470 | applet_using = find_applet_by_name(name); | 470 | applet_using = find_applet_by_name(name); |
471 | if (applet_using) { | 471 | if (applet_using) { |
472 | bb_applet_name = applet_using->name; | 472 | applet_name = applet_using->name; |
473 | if(argc==2 && !strcmp(argv[1], "--help")) bb_show_usage(); | 473 | if(argc==2 && !strcmp(argv[1], "--help")) bb_show_usage(); |
474 | if(ENABLE_FEATURE_SUID) check_suid(applet_using); | 474 | if(ENABLE_FEATURE_SUID) check_suid(applet_using); |
475 | exit((*(applet_using->main))(argc, argv)); | 475 | exit((*(applet_using->main))(argc, argv)); |