From: Mike Frysinger Date: Fri, 24 Apr 2009 06:40:30 +0000 (-0000) Subject: do not tell people they can enter "help" if help has actually been disabled X-Git-Tag: 1_15_0~285 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=26cf2831d75db1be2241c0a4573ddf4da18b5560;p=oweals%2Fbusybox.git do not tell people they can enter "help" if help has actually been disabled --- diff --git a/shell/hush.c b/shell/hush.c index 924d826cc..fcbd96c4d 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -6259,7 +6259,9 @@ int hush_main(int argc, char **argv) if (!ENABLE_FEATURE_SH_EXTRA_QUIET && G_interactive_fd) { printf("\n\n%s hush - the humble shell\n", bb_banner); - printf("Enter 'help' for a list of built-in commands.\n\n"); + if (ENABLE_HUSH_HELP) + puts("Enter 'help' for a list of built-in commands."); + puts(""); } parse_and_run_file(stdin);