diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fluxbox.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 1cdc647..4e4187a 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -1135,7 +1135,8 @@ void Fluxbox::handleSignal(int signum) { | |||
1135 | 1135 | ||
1136 | switch (signum) { | 1136 | switch (signum) { |
1137 | case SIGCHLD: // we don't want the child process to kill us | 1137 | case SIGCHLD: // we don't want the child process to kill us |
1138 | waitpid(-1, 0, WNOHANG | WUNTRACED); | 1138 | // more than one process may have terminated |
1139 | while (waitpid(-1, 0, WNOHANG | WUNTRACED) > 0); | ||
1139 | break; | 1140 | break; |
1140 | case SIGHUP: | 1141 | case SIGHUP: |
1141 | restart(); | 1142 | restart(); |