aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shell/hush.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 6173afc80..08357ca77 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -22,7 +22,7 @@
22 * Other credits: 22 * Other credits:
23 * b_addchr() derived from similar w_addchar function in glibc-2.2 23 * b_addchr() derived from similar w_addchar function in glibc-2.2
24 * setup_redirect(), redirect_opt_num(), and big chunks of main() 24 * setup_redirect(), redirect_opt_num(), and big chunks of main()
25 * and many builtins derived from contributions by Erik Andersen 25 * and many builtins derived from contributions by Erik Andersen
26 * miscellaneous bugfixes from Matt Kraai 26 * miscellaneous bugfixes from Matt Kraai
27 * 27 *
28 * There are two big (and related) architecture differences between 28 * There are two big (and related) architecture differences between
@@ -298,7 +298,7 @@ static char *indenter(int i)
298 return &blanks[sizeof(blanks)-i-1]; 298 return &blanks[sizeof(blanks)-i-1];
299} 299}
300#else 300#else
301#define debug_printf(...) do {;} while (0); 301#define debug_printf(...) do {} while (0)
302#endif 302#endif
303#define final_printf debug_printf 303#define final_printf debug_printf
304 304
@@ -2758,7 +2758,7 @@ int hush_main(int argc, char **argv)
2758 } 2758 }
2759 /* A shell is interactive if the '-i' flag was given, or if all of 2759 /* A shell is interactive if the '-i' flag was given, or if all of
2760 * the following conditions are met: 2760 * the following conditions are met:
2761 * no -c command 2761 * no -c command
2762 * no arguments remaining or the -s flag given 2762 * no arguments remaining or the -s flag given
2763 * standard input is a terminal 2763 * standard input is a terminal
2764 * standard output is a terminal 2764 * standard output is a terminal