hush: tweak comment
authorDenys Vlasenko <vda.linux@googlemail.com>
Tue, 26 May 2009 12:39:41 +0000 (14:39 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 26 May 2009 12:39:41 +0000 (14:39 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c

index 7360f0e4cdd993dcabe0771fa834b7c07511286f..533c56de2df107d9c1f51bf98bfd8fab416c8ba9 100644 (file)
@@ -3301,8 +3301,8 @@ static int checkjobs(struct pipe* fg_pipe)
        if (G.handled_SIGCHLD == G.count_SIGCHLD) {
 //bb_error_msg("[%d] checkjobs: G.count_SIGCHLD:%d G.handled_SIGCHLD:%d children?:%d fg_pipe:%p",
 //getpid(), G.count_SIGCHLD, G.handled_SIGCHLD, G.we_have_children, fg_pipe);
-               /* There was heither fork nor SIGCHLD since last waitpid */
-               /* Avoid doing syscall, nothing there anyway */
+               /* There was neither fork nor SIGCHLD since last waitpid */
+               /* Avoid doing waitpid syscall if possible */
                if (!G.we_have_children) {
                        errno = ECHILD;
                        return -1;