mirror of
https://github.com/systemd/systemd.git
synced 2026-08-03 06:30:30 +00:00
main: don't warn if /etc/mtab is a symlink to /proc/mounts
This commit is contained in:
@@ -899,7 +899,7 @@ static void test_mtab(void) {
|
||||
if (readlink_malloc("/etc/mtab", &p) >= 0) {
|
||||
bool b;
|
||||
|
||||
b = streq(p, "/proc/self/mounts");
|
||||
b = streq(p, "/proc/self/mounts") || streq(p, "/proc/mounts");
|
||||
free(p);
|
||||
|
||||
if (b)
|
||||
|
||||
Reference in New Issue
Block a user