aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-18 17:21:28 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-18 17:21:28 +0000
commit55b2de71d73d2d62fdc8a920b12644ff3c3fc0ef (patch)
tree07f7ad94f461170d63f9e6d98810a539d691c100 /shell
parent517d1aac7f42958a2b1c3c1f7ffbf83731c6e263 (diff)
downloadbusybox-w32-55b2de71d73d2d62fdc8a920b12644ff3c3fc0ef.tar.gz
busybox-w32-55b2de71d73d2d62fdc8a920b12644ff3c3fc0ef.tar.bz2
busybox-w32-55b2de71d73d2d62fdc8a920b12644ff3c3fc0ef.zip
hush: remove stray semicolon (should change nothing)
Diffstat (limited to 'shell')
-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