diff options
author | 2015-07-20 10:00:52 -0400 | |
---|---|---|
committer | 2015-07-20 10:00:52 -0400 | |
commit | 019c458afe5c99433c2a2c2f3280e1159bd10185 (patch) | |
tree | a356bab163aba174de38fe7ff7e9cec79dcefc6f | |
parent | udevd: warn if we receive SIGCHLD from untracked worker (diff) | |
download | eudev-019c458afe5c99433c2a2c2f3280e1159bd10185.tar.gz eudev-019c458afe5c99433c2a2c2f3280e1159bd10185.tar.bz2 eudev-019c458afe5c99433c2a2c2f3280e1159bd10185.zip |
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>
-rw-r--r-- | src/udev/udevd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c index b7a59fb43..972b14803 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -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); } |