summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/event.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/event.c b/lib/event.c
index 8f72a70..9ac80ac 100644
--- a/lib/event.c
+++ b/lib/event.c
@@ -77,12 +77,11 @@ int
ev_run_list(event_list *l)
{
node *n, *p;
- int keep = 0;
WALK_LIST_DELSAFE(n, p, *l)
{
event *e = SKIP_BACK(event, n, n);
- keep += ev_run(e);
+ ev_run(e);
}
- return keep;
+ return !EMPTY_LIST(*l);
}