diff options
-rw-r--r-- | src/json.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,7 +132,7 @@ int og_json_parse_partition(json_t *element, struct og_partition *part, return err; } - if (flags != required_flags) + if ((flags & required_flags) != required_flags) return -1; return err; |