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:
parent
7a03b1970c
commit
65c9e46752
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user