]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/tmpfiles/tmpfiles.c
tree-wide: use IN_SET where possible
[thirdparty/systemd.git] / src / tmpfiles / tmpfiles.c
index 3d3967f2719f3c62f5cc55fba8021633b9d25de1..3f5c1e62ee66f631382c4abe1eb2bdfd9d4a0a06 100644 (file)
@@ -931,7 +931,7 @@ static int parse_attribute_from_arg(Item *item) {
 
                 v = attributes[i].value;
 
-                SET_FLAG(value, v, (mode == MODE_ADD || mode == MODE_SET));
+                SET_FLAG(value, v, IN_SET(mode, MODE_ADD, MODE_SET));
 
                 mask |= v;
         }