]> err.no Git - systemd/commitdiff
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 3b1608060ec084b044c165c3215d3322338301b3..01fc2dffbbee3bbbe057b27511f5f98b675e9fd8 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);