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: ignore entry activation on empty string
[elogind.git]
/
mount.c
diff --git
a/mount.c
b/mount.c
index b53c7c0d8a291a169ffbd65f1f35436fdfe9e175..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);
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);
m->failure = m->failure || !success;
assert(m->control_pid == pid);
@@
-1360,7
+1360,7
@@
void mount_fd_event(Manager *m, int events) {
* table changes */
if ((r = mount_load_proc_self_mountinfo(m, true)) < 0) {
* table changes */
if ((r = mount_load_proc_self_mountinfo(m, true)) < 0) {
- log_error("Failed to reread /proc/self/mountinfo: %s", strerror(
-
errno));
+ log_error("Failed to reread /proc/self/mountinfo: %s", strerror(errno));
/* Reset flags, just in case, for later calls */
LIST_FOREACH(units_per_type, meta, m->units_per_type[UNIT_MOUNT]) {
/* Reset flags, just in case, for later calls */
LIST_FOREACH(units_per_type, meta, m->units_per_type[UNIT_MOUNT]) {