mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-04 15:58:29 +00: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:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user