1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 08:26:52 +03:00

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

This commit is contained in:
Kay Sievers 2011-03-24 22:32:21 +01:00
parent 7a03b1970c
commit 65c9e46752

View 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) {