projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a82845
)
randomconfig fix
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 28 Mar 2009 19:22:08 +0000
(19:22 -0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 28 Mar 2009 19:22:08 +0000
(19:22 -0000)
shell/hush.c
patch
|
blob
|
history
diff --git
a/shell/hush.c
b/shell/hush.c
index 3ab96a3236c3bb4dd93c89d929ed9ec9efae88cd..6f34ce1c3e870434b45dc66ab66d78650a873822 100644
(file)
--- a/
shell/hush.c
+++ b/
shell/hush.c
@@
-4448,10
+4448,12
@@
int hush_main(int argc, char **argv)
}
#endif
- if (!ENABLE_FEATURE_SH_EXTRA_QUIET && G.interactive_fd) {
+#if ENABLE_HUSH_INTERACTIVE && !ENABLE_FEATURE_SH_EXTRA_QUIET
+ if (G.interactive_fd) {
printf("\n\n%s hush - the humble shell v"HUSH_VER_STR"\n", bb_banner);
printf("Enter 'help' for a list of built-in commands.\n\n");
}
+#endif
if (argv[optind] == NULL) {
opt = parse_and_run_file(stdin);