diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-01-21 02:57:58 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-01-21 02:57:58 +0100 |
commit | ed86ebc41440b09977b93cf71f4a55082d9a2e44 (patch) | |
tree | d43ce8a1b013e3a439b0f056bde4f8491dbc9a23 | |
parent | cae18e217208735797232eabb83a93470aefe88f (diff) |
main: don't warn if /etc/mtab is a symlink to /proc/mounts
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 99e277c67b..0f82b706c6 100644 --- a/src/main.c +++ b/src/main.c @@ -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) |