mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-24 21:34:08 +03:00
path: fix invalid variable access in path_is_mount_point()
This commit is contained in:
parent
1640a0b6b0
commit
f408b8f1bb
@ -385,7 +385,7 @@ fallback:
|
||||
if (allow_symlink)
|
||||
r = stat(t, &a);
|
||||
else
|
||||
r = lstat(t, &b);
|
||||
r = lstat(t, &a);
|
||||
|
||||
if (r < 0)
|
||||
return -errno;
|
||||
|
Loading…
Reference in New Issue
Block a user