Merge pull request #1428 from franciozzy/tagenhance

Enhance matching of TAG keys
This commit is contained in:
Kay Sievers 2015-10-01 19:10:06 +02:00
commit 5a6d44ed77

View file

@ -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;
}