mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-26 21:55:44 +07:00
main: don't warn if /etc/mtab is a symlink to /proc/mounts
This commit is contained in:
parent
cae18e2172
commit
ed86ebc414
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user