diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-03-28 19:22:08 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-03-28 19:22:08 +0000 |
commit | 701ac1864b9c562a6b8a84bad0261a03f494f114 (patch) | |
tree | dd78dedb0a7b4f51ed42723fe7efd37236d2978c | |
parent | 5a82845f60b2be8e1b85bed08851c794aa188a39 (diff) | |
download | busybox-w32-701ac1864b9c562a6b8a84bad0261a03f494f114.tar.gz busybox-w32-701ac1864b9c562a6b8a84bad0261a03f494f114.tar.bz2 busybox-w32-701ac1864b9c562a6b8a84bad0261a03f494f114.zip |
randomconfig fix
-rw-r--r-- | shell/hush.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c index 3ab96a323..6f34ce1c3 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -4448,10 +4448,12 @@ int hush_main(int argc, char **argv) | |||
4448 | } | 4448 | } |
4449 | #endif | 4449 | #endif |
4450 | 4450 | ||
4451 | if (!ENABLE_FEATURE_SH_EXTRA_QUIET && G.interactive_fd) { | 4451 | #if ENABLE_HUSH_INTERACTIVE && !ENABLE_FEATURE_SH_EXTRA_QUIET |
4452 | if (G.interactive_fd) { | ||
4452 | printf("\n\n%s hush - the humble shell v"HUSH_VER_STR"\n", bb_banner); | 4453 | printf("\n\n%s hush - the humble shell v"HUSH_VER_STR"\n", bb_banner); |
4453 | printf("Enter 'help' for a list of built-in commands.\n\n"); | 4454 | printf("Enter 'help' for a list of built-in commands.\n\n"); |
4454 | } | 4455 | } |
4456 | #endif | ||
4455 | 4457 | ||
4456 | if (argv[optind] == NULL) { | 4458 | if (argv[optind] == NULL) { |
4457 | opt = parse_and_run_file(stdin); | 4459 | opt = parse_and_run_file(stdin); |