1
0
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:
Lennart Poettering 2018-11-23 19:40:12 +01:00
parent 8a9c44edf9
commit e0fe3a03ab

View File

@ -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);