diff options
-rw-r--r-- | src/remount-fs/remount-fs.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/remount-fs/remount-fs.c b/src/remount-fs/remount-fs.c index af92ddb96c..bfc6ca67a1 100644 --- a/src/remount-fs/remount-fs.c +++ b/src/remount-fs/remount-fs.c @@ -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); |