mirror of
https://github.com/AuxXxilium/eudev.git
synced 2024-11-23 15:00:56 +07:00
Fix := not preventing further assignments to RUN
Closes #256 Suggested by: Aksel Lunde Aase
This commit is contained in:
parent
b9cc389aab
commit
f49af0b03b
@ -2601,6 +2601,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