summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/events.c b/source3/lib/events.c
index 7670eb1f10..2ac4cc00ed 100644
--- a/source3/lib/events.c
+++ b/source3/lib/events.c
@@ -113,7 +113,7 @@ bool run_events(struct tevent_context *ev,
return true;
}
- if (selrtn == 0) {
+ if (selrtn <= 0) {
/*
* No fd ready
*/