chiark / gitweb /
mount: consider a mount successful if /bin/mount returned successfully but /proc...
authorLennart Poettering <lennart@poettering.net>
Fri, 21 May 2010 01:32:58 +0000 (03:32 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 21 May 2010 01:32:58 +0000 (03:32 +0200)
src/mount.c

index 3b16080..01fc2df 100644 (file)
@@ -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);