diff options
author | Tom Gundersen <teg@jklm.no> | 2015-04-24 18:35:58 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-04-24 19:13:48 +0200 |
commit | e2f8d97a1316af5b2d5c1f69d12e33709e830a1b (patch) | |
tree | ed54a7755b57542a4c8e61ed58b30f9566fe4f57 | |
parent | d1317d02e637e19e9f40175657ff8e6098523633 (diff) |
udevd: don't unref worker objects on SIGSTOP/SIGCONT
We should not be receiving these anyway, but let's be correct.
-rw-r--r-- | src/udev/udevd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c index 6b5d99b6b0..a84b407ded 100644 --- a/src/udev/udevd.c +++ b/src/udev/udevd.c @@ -883,8 +883,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); + break; } else if (WIFCONTINUED(status)) { log_info("worker ["PID_FMT"] continued", pid); + break; } else { log_warning("worker ["PID_FMT"] exit with status 0x%04x", pid, status); } |