mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-11-23 15:00:56 +07:00
Merge pull request #257 from bbonev/issue256
Fix := not preventing further assignments to RUN
This commit is contained in:
commit
072d94137f
@ -2602,6 +2602,10 @@ int udev_rules_apply_to_event(struct udev_rules *rules,
|
||||
case TK_A_RUN_PROGRAM: {
|
||||
struct udev_list_entry *entry;
|
||||
|
||||
if (event->run_final)
|
||||
break;
|
||||
if (cur->key.op == OP_ASSIGN_FINAL)
|
||||
event->run_final = true;
|
||||
if (cur->key.op == OP_ASSIGN || cur->key.op == OP_ASSIGN_FINAL)
|
||||
udev_list_cleanup(&event->run_list);
|
||||
log_debug("RUN '%s' %s:%u",
|
||||
|
Loading…
Reference in New Issue
Block a user