diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-05-21 03:32:58 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-21 03:32:58 +0200 |
commit | 19b160fae970b720f3498a8dc247c5f04c7cf16a (patch) | |
tree | c40c52cc59aeae28d61c51f3e17ef3acf29716d9 /src | |
parent | 8cbef76075910864ed31879c9fb193c127adc20d (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.c | 2 |
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); |