diff options
author | Denis Vlasenko | 2007-03-24 15:40:16 +0000 |
---|---|---|
committer | Denis Vlasenko | 2007-03-24 15:40:16 +0000 |
commit | 219d14d514ca4d31b4319af14e3a64b66fe2c233 (patch) | |
tree | a74e8ce7604ff932a3990de3065c167392e4b082 /shell | |
parent | 644849a3aa0c834a942fb7777ec449d8098bcfc9 (diff) | |
download | busybox-219d14d514ca4d31b4319af14e3a64b66fe2c233.zip busybox-219d14d514ca4d31b4319af14e3a64b66fe2c233.tar.gz |
random style fixes (extra spaces deleted)
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 4 | ||||
-rw-r--r-- | shell/lash.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/shell/hush.c b/shell/hush.c index 7658aeb..5bc83bc 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -1095,7 +1095,7 @@ static void pseudo_exec(struct child_prog *child) * if this is one of those cases. */ for (x = bltins; x->cmd; x++) { - if (strcmp(child->argv[0], x->cmd) == 0 ) { + if (strcmp(child->argv[0], x->cmd) == 0) { debug_printf("builtin exec %s\n", child->argv[0]); rcode = x->function(child); fflush(stdout); @@ -1369,7 +1369,7 @@ static int run_pipe_real(struct pipe *pi) return last_return_code; } for (x = bltins; x->cmd; x++) { - if (strcmp(child->argv[i], x->cmd) == 0 ) { + if (strcmp(child->argv[i], x->cmd) == 0) { int squirrel[] = { -1, -1, -1 }; int rcode; if (x->function == builtin_exec && child->argv[i+1] == NULL) { diff --git a/shell/lash.c b/shell/lash.c index 09067fd..f938a74 100644 --- a/shell/lash.c +++ b/shell/lash.c @@ -1138,7 +1138,7 @@ static int pseudo_exec(struct child_prog *child) * if this is one of those cases. */ for (x = bltins; x->cmd; x++) { - if (strcmp(child->argv[0], x->cmd) == 0 ) { + if (strcmp(child->argv[0], x->cmd) == 0) { _exit(x->function(child)); } } @@ -1262,7 +1262,7 @@ static int run_command(struct job *newjob, int inbg, int outpipe[2]) } for (x = bltins; x->cmd; x++) { - if (strcmp(child->argv[0], x->cmd) == 0 ) { + if (strcmp(child->argv[0], x->cmd) == 0) { int rcode; int squirrel[] = {-1, -1, -1}; setup_redirects(child, squirrel); |