summaryrefslogtreecommitdiff
path: root/lib/TaskMan.cc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/TaskMan.cc')
-rw-r--r--lib/TaskMan.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/TaskMan.cc b/lib/TaskMan.cc
index 479e25e..ded359a 100644
--- a/lib/TaskMan.cc
+++ b/lib/TaskMan.cc
@@ -13,7 +13,7 @@ static int nbprocess = 0;
void taskman_sigchild(int sig) {
got_sigchild = 1;
- process.push_back(wait(NULL));
+ process.push_back(wait(0));
signal(SIGCHLD, taskman_sigchild);
nbprocess++;
}