From 584be572b31b00cb76a5883b85293f2e825bd7a3 Mon Sep 17 00:00:00 2001 From: James Pike Date: Sun, 5 Jul 2015 22:46:59 +0100 Subject: [PATCH] fix process exit waiting --- main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/main.c b/main.c index 109efb9..743960e 100644 --- a/main.c +++ b/main.c @@ -64,7 +64,6 @@ static void wait_for_requested_commands_to_exit(int n_cmds, pid_t *pids) { static void wait_for_all_processes_to_exit() { int status; - if (! running) return; for (;;) { if (waitpid(-1, &status, 0) == -1 && errno == ECHILD) return;