From 65c9e467528daa438167853cc91d37bfcb875836 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 24 Mar 2011 22:32:21 +0100 Subject: [PATCH] tainted: don't check if /usr is a mount point, only if it's not already mounted at startup --- src/dbus-manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dbus-manager.c b/src/dbus-manager.c index 2edbc37b..c21cb5f5 100644 --- a/src/dbus-manager.c +++ b/src/dbus-manager.c @@ -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) { -- 2.39.5