allow multiple identical events to be queued
authorJohn Crispin <blogic@openwrt.org>
Tue, 2 Jun 2015 00:00:03 +0000 (02:00 +0200)
committerJohn 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

index ced758baefadf2ac2e6d2926512cc1aa24fd8665..a8533b3bce298a9479b334552582111756df4ba3 100644 (file)
@@ -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) {