]> git.sthu.org Git - runfinite.git/commitdiff
removing a bug: runfinte returns imediately master
authorStefan Huber <shuber2@gmail.com>
Fri, 6 Jun 2008 17:29:23 +0000 (18:29 +0100)
committerStefan Huber <shuber2@gmail.com>
Fri, 6 Jun 2008 17:29:23 +0000 (18:29 +0100)
src/main.cpp

index 3e147b97e4d92056473aec843e43ebab2e35cecb..dc2d5f1d0330b19a1eb717dcaf78b19472ef768b 100644 (file)
@@ -200,9 +200,6 @@ int main(int argc, char* argv[], char* envp[])
                        if( waitpid(-1, &status, WNOHANG | WUNTRACED | WCONTINUED) < 0 )
                                break;
 
-                       if( WIFEXITED(status) )
-                               break;
-
                        //Sleep a round
                        usleep(ussleep);
                        loops++;