diff options
author | Kay Sievers <kay@vrfy.org> | 2015-10-01 19:10:06 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2015-10-01 19:10:06 +0200 |
commit | 5a6d44ed77f46c18aa2315e645de7302b88c34c8 (patch) | |
tree | 02ce9a70b236fdc59e3f38abe652de9eb8c0e300 /src | |
parent | e46831f0f1e2ef0a6cd333b639af1327745ccb5b (diff) | |
parent | 4302857b31a8e89ddeba0921fee06a1ff0237996 (diff) | |
download | systemd-5a6d44ed77f46c18aa2315e645de7302b88c34c8.tar.gz systemd-5a6d44ed77f46c18aa2315e645de7302b88c34c8.tar.bz2 systemd-5a6d44ed77f46c18aa2315e645de7302b88c34c8.zip |
Merge pull request #1428 from franciozzy/tagenhance
Enhance matching of TAG keys
Diffstat (limited to 'src')
-rw-r--r-- | src/udev/udev-rules.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/udev/udev-rules.c b/src/udev/udev-rules.c index 83c1793751..10bf3880b0 100644 --- a/src/udev/udev-rules.c +++ b/src/udev/udev-rules.c @@ -1937,7 +1937,8 @@ int udev_rules_apply_to_event(struct udev_rules *rules, break; } } - if (!match && (cur->key.op != OP_NOMATCH)) + if ((!match && (cur->key.op != OP_NOMATCH)) || + (match && (cur->key.op == OP_NOMATCH))) goto nomatch; break; } |