chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
systemadm: show in window title whether we inspect the session or the system bus
[elogind.git]
/
mount.c
diff --git
a/mount.c
b/mount.c
index 2b24ea5c8c13206fbfb4e5f99b4defc98af64c5b..ec03a52f6a7c4442d3f29e4893040dd769624797 100644
(file)
--- 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);