]> err.no Git - systemd/commitdiff
tainted: don't check if /usr is a mount point, only if it's not already mounted at...
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 24 Mar 2011 21:32:21 +0000 (22:32 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 24 Mar 2011 21:32:21 +0000 (22:32 +0100)
src/dbus-manager.c

index 2edbc37b5e2bfedb8ce8b8b3a49ce6a971893a06..c21cb5f5766c46908057971369d14c062d4eefd7 100644 (file)
@@ -223,7 +223,7 @@ static int bus_manager_append_tainted(Manager *m, DBusMessageIter *i, const char
         assert(i);
         assert(property);
 
-        if (path_is_mount_point("/usr") > 0 || dir_is_empty("/usr") > 0)
+        if (dir_is_empty("/usr") > 0)
                 e = stpcpy(e, "usr-separate-fs");
 
         if (readlink_malloc("/etc/mtab", &p) < 0) {