udev: do not try to process events if there is no free worker

This commit is contained in:
Yu Watanabe
2021-08-10 15:19:41 +09:00
parent f2a5412bf2
commit 5f4bca9dcc
+1 -1
View File
@@ -924,7 +924,7 @@ static int event_queue_start(Manager *manager) {
continue;
r = event_run(event);
if (r < 0)
if (r <= 0)
return r;
}