diff --git a/main.c b/main.c index d495648..3b5aadb 100644 --- a/main.c +++ b/main.c @@ -291,7 +291,7 @@ int main() } } sleep(2); - waitpid(-1, &status ,WNOHANG) + waitpid(-1, &status ,WNOHANG); } start = 0; }