projects
/
project
/
procd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a771644
)
allow multiple identical events to be queued
author
John Crispin
<blogic@openwrt.org>
Tue, 2 Jun 2015 00:00:03 +0000
(
02:00
+0200)
committer
John Crispin
<blogic@openwrt.org>
Tue, 2 Jun 2015 00:00:03 +0000
(
02:00
+0200)
Signed-off-by: John Crispin <blogic@openwrt.org>
service/trigger.c
patch
|
blob
|
history
diff --git
a/service/trigger.c
b/service/trigger.c
index ced758baefadf2ac2e6d2926512cc1aa24fd8665..a8533b3bce298a9479b334552582111756df4ba3 100644
(file)
--- a/
service/trigger.c
+++ b/
service/trigger.c
@@
-336,7
+336,7
@@
void trigger_event(const char *type, struct blob_attr *data)
struct trigger *t;
list_for_each_entry(t, &triggers, list) {
- if (t->
pending || t->
remove)
+ if (t->remove)
continue;
if (!trigger_match(type, t->type)) {
if (t->timeout) {