mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-12-27 14:15:34 +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