Fixed long forgotten merges.

This commit is contained in:
Thulinma 2014-06-18 11:52:12 +02:00
parent 8c01ec8897
commit e090a9368d
4 changed files with 6 additions and 13 deletions

View file

@ -138,16 +138,13 @@ void Util::Procs::setHandler() {
sigaction(SIGCHLD, &new_action, NULL);
atexit(exit_handler);
handler_set = true;
}// else {
// DEBUG_MSG(DLVL_DEVEL, "not setting handler");
// }
}
}
/// Used internally to capture child signals and update plist.
void Util::Procs::childsig_handler(int signum) {
if (signum != SIGCHLD) {
DEBUG_MSG(DLVL_DEVEL, "signum != SIGCHLD");
return;
}
int status;