summaryrefslogtreecommitdiff
path: root/src/udev
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-04-24 18:35:58 +0200
committerAnthony G. Basile <blueness@gentoo.org>2015-05-03 15:29:03 -0400
commit9b01b56629f1b56c692ad130479d87b64070fb3e (patch)
tree11fe6abd4f6ec6622d932cccd21ddbeeb40ab607 /src/udev
parent210f90af1d2f4a644ddc2a715c0b5145a0831748 (diff)
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>
Diffstat (limited to 'src/udev')
-rw-r--r--src/udev/udevd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
index 6d0b8f89a5..e93098d84a 100644
--- a/src/udev/udevd.c
+++ b/src/udev/udevd.c
@@ -878,8 +878,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);
}