mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 09:21:26 +03:00
remount-fs: use PATH_IN_SET() at one more place
This commit is contained in:
parent
8a9c44edf9
commit
e0fe3a03ab
@ -56,8 +56,7 @@ static int run(int argc, char *argv[]) {
|
||||
|
||||
/* Remount the root fs, /usr and all API VFS */
|
||||
if (!mount_point_is_api(me->mnt_dir) &&
|
||||
!path_equal(me->mnt_dir, "/") &&
|
||||
!path_equal(me->mnt_dir, "/usr"))
|
||||
!PATH_IN_SET(me->mnt_dir, "/", "/usr"))
|
||||
continue;
|
||||
|
||||
log_debug("Remounting %s", me->mnt_dir);
|
||||
|
Loading…
Reference in New Issue
Block a user