From: Lennart Poettering Date: Fri, 23 Nov 2018 18:40:12 +0000 (+0100) Subject: remount-fs: use PATH_IN_SET() at one more place X-Git-Tag: v240~18^2~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0fe3a03ab423711b1e766e3d2980a1927b34d5e;p=platform%2Fupstream%2Fsystemd.git remount-fs: use PATH_IN_SET() at one more place --- diff --git a/src/remount-fs/remount-fs.c b/src/remount-fs/remount-fs.c index af92ddb..bfc6ca6 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);