From: John Crispin Date: Tue, 2 Jun 2015 00:00:03 +0000 (+0200) Subject: allow multiple identical events to be queued X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fprocd.git;a=commitdiff_plain;h=94e7ea8b88cb01192a6fb1f1f6a68ada1356763f;hp=a771644fd3a3ac055ec0c62fbe434aed0df002fe allow multiple identical events to be queued Signed-off-by: John Crispin --- 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) {