aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/satd-diminished.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/satd-diminished.c b/src/satd-diminished.c
index df1b09f..5404327 100644
--- a/src/satd-diminished.c
+++ b/src/satd-diminished.c
@@ -187,7 +187,7 @@ again:
perror(argv[0]);
}
/* Need to set new timer values? */
- if (expired || ((received_signo == SIGCHLD) && !children))
+ if (expired || ((received_signo == SIGCHLD) && !child_count))
t (expired = 0, spawn(argv, envp));
received_signo = 0;
#if 1 || !defined(DEBUG)