diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-05-26 14:39:41 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-05-26 14:39:41 +0200 |
commit | 68759edb6e6406bc954caf97a8436b7fb3eb5e2b (patch) | |
tree | 72418566375158c67ea48d9670a9e0119e6a0c91 | |
parent | e2df5f46d02d170d1d8c9dfdd186ef23504109dc (diff) | |
download | busybox-w32-68759edb6e6406bc954caf97a8436b7fb3eb5e2b.tar.gz busybox-w32-68759edb6e6406bc954caf97a8436b7fb3eb5e2b.tar.bz2 busybox-w32-68759edb6e6406bc954caf97a8436b7fb3eb5e2b.zip |
hush: tweak comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/hush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c index 7360f0e4c..533c56de2 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -3301,8 +3301,8 @@ static int checkjobs(struct pipe* fg_pipe) | |||
3301 | if (G.handled_SIGCHLD == G.count_SIGCHLD) { | 3301 | if (G.handled_SIGCHLD == G.count_SIGCHLD) { |
3302 | //bb_error_msg("[%d] checkjobs: G.count_SIGCHLD:%d G.handled_SIGCHLD:%d children?:%d fg_pipe:%p", | 3302 | //bb_error_msg("[%d] checkjobs: G.count_SIGCHLD:%d G.handled_SIGCHLD:%d children?:%d fg_pipe:%p", |
3303 | //getpid(), G.count_SIGCHLD, G.handled_SIGCHLD, G.we_have_children, fg_pipe); | 3303 | //getpid(), G.count_SIGCHLD, G.handled_SIGCHLD, G.we_have_children, fg_pipe); |
3304 | /* There was heither fork nor SIGCHLD since last waitpid */ | 3304 | /* There was neither fork nor SIGCHLD since last waitpid */ |
3305 | /* Avoid doing syscall, nothing there anyway */ | 3305 | /* Avoid doing waitpid syscall if possible */ |
3306 | if (!G.we_have_children) { | 3306 | if (!G.we_have_children) { |
3307 | errno = ECHILD; | 3307 | errno = ECHILD; |
3308 | return -1; | 3308 | return -1; |