From: Kay Sievers Date: Thu, 24 Mar 2011 21:32:21 +0000 (+0100) Subject: tainted: don't check if /usr is a mount point, only if it's not already mounted at... X-Git-Tag: v21~31 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65c9e467528daa438167853cc91d37bfcb875836;p=systemd tainted: don't check if /usr is a mount point, only if it's not already mounted at startup --- 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) {