Commit 65c9e467 authored by Kay Sievers's avatar Kay Sievers

tainted: don't check if /usr is a mount point, only if it's not already mounted at startup

parent 7a03b197
...@@ -223,7 +223,7 @@ static int bus_manager_append_tainted(Manager *m, DBusMessageIter *i, const char ...@@ -223,7 +223,7 @@ static int bus_manager_append_tainted(Manager *m, DBusMessageIter *i, const char
assert(i); assert(i);
assert(property); 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"); e = stpcpy(e, "usr-separate-fs");
if (readlink_malloc("/etc/mtab", &p) < 0) { if (readlink_malloc("/etc/mtab", &p) < 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment