summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
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)