From 94e7ea8b88cb01192a6fb1f1f6a68ada1356763f Mon Sep 17 00:00:00 2001 From: John Crispin Date: Tue, 2 Jun 2015 02:00:03 +0200 Subject: allow multiple identical events to be queued Signed-off-by: John Crispin --- service/trigger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'service') 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) { -- cgit v1.2.3