diff options
author | John Crispin <blogic@openwrt.org> | 2015-06-02 02:00:03 +0200 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2015-06-02 02:00:03 +0200 |
commit | 94e7ea8b88cb01192a6fb1f1f6a68ada1356763f (patch) | |
tree | ebedb79c7ce2d1f4b854a5fe50f9ed9b959f0708 /service | |
parent | a771644fd3a3ac055ec0c62fbe434aed0df002fe (diff) | |
download | unitd-94e7ea8b88cb01192a6fb1f1f6a68ada1356763f.tar unitd-94e7ea8b88cb01192a6fb1f1f6a68ada1356763f.zip |
allow multiple identical events to be queued
Signed-off-by: John Crispin <blogic@openwrt.org>
Diffstat (limited to 'service')
-rw-r--r-- | service/trigger.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/service/trigger.c b/service/trigger.c index ced758b..a8533b3 100644 --- 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) { |