summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-21 03:32:58 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-21 03:32:58 +0200
commit19b160fae970b720f3498a8dc247c5f04c7cf16a (patch)
treec40c52cc59aeae28d61c51f3e17ef3acf29716d9 /src
parent8cbef76075910864ed31879c9fb193c127adc20d (diff)
mount: consider a mount successful if /bin/mount returned successfully but /proc/self/mountinfo didn't notify us yet
Diffstat (limited to 'src')
-rw-r--r--src/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mount.c b/src/mount.c
index 3b1608060e..01fc2dffbb 100644
--- a/src/mount.c
+++ b/src/mount.c
@@ -936,7 +936,7 @@ static void mount_sigchld_event(Unit *u, pid_t pid, int code, int status) {
case MOUNT_REMOUNTING_SIGKILL:
case MOUNT_REMOUNTING_SIGTERM:
- if (success && m->from_proc_self_mountinfo)
+ if (success)
mount_enter_mounted(m, true);
else if (m->from_proc_self_mountinfo)
mount_enter_mounted(m, false);