summaryrefslogtreecommitdiff
path: root/mount.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-16 03:55:19 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-16 03:55:19 +0200
commitcb8a8f78a11cedb8cba1abfa9a63b0d3ea8eef93 (patch)
tree478197daa12a47d8be21d0fc458662ead9af2255 /mount.c
parentca139f94c8de427616f54ab38262a47c4a636ffd (diff)
service: consider a process exiting with SIGTERM a clean exit
Diffstat (limited to 'mount.c')
-rw-r--r--mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount.c b/mount.c
index 2b24ea5c8c..ec03a52f6a 100644
--- a/mount.c
+++ b/mount.c
@@ -900,7 +900,7 @@ static void mount_sigchld_event(Unit *u, pid_t pid, int code, int status) {
assert(m);
assert(pid >= 0);
- success = code == CLD_EXITED && status == 0;
+ success = is_clean_exit(code, status);
m->failure = m->failure || !success;
assert(m->control_pid == pid);