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 */
|
/* Remount the root fs, /usr and all API VFS */
|
||||||
if (!mount_point_is_api(me->mnt_dir) &&
|
if (!mount_point_is_api(me->mnt_dir) &&
|
||||||
!path_equal(me->mnt_dir, "/") &&
|
!PATH_IN_SET(me->mnt_dir, "/", "/usr"))
|
||||||
!path_equal(me->mnt_dir, "/usr"))
|
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
log_debug("Remounting %s", me->mnt_dir);
|
log_debug("Remounting %s", me->mnt_dir);
|
||||||
|
|
Loading…
Reference in a new issue