Commit ed86ebc4 authored by Lennart Poettering's avatar Lennart Poettering
Browse files

main: don't warn if /etc/mtab is a symlink to /proc/mounts

parent cae18e21
......@@ -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");
if (b)
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