udevd: don't unref worker objects on SIGSTOP/SIGCONT

We should not be receiving these anyway, but let's be correct.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
This commit is contained in:
Tom Gundersen 2015-07-20 10:00:52 -04:00 committed by Anthony G. Basile
parent 75e930ed64
commit 019c458afe

View File

@ -953,10 +953,10 @@ static void handle_signal(struct udev *udev, int signo) {
pid, WTERMSIG(status), strsignal(WTERMSIG(status)));
} else if (WIFSTOPPED(status)) {
log_info("worker ["PID_FMT"] stopped", pid);
continue;
break;
} else if (WIFCONTINUED(status)) {
log_info("worker ["PID_FMT"] continued", pid);
continue;
break;
} else {
log_warning("worker ["PID_FMT"] exit with status 0x%04x", pid, status);
}