Merge pull request #1428 from franciozzy/tagenhance
Enhance matching of TAG keys
This commit is contained in:
commit
5a6d44ed77
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue