]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
udev: do not try to process events if there is no free worker
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 17 Jun 2021 06:51:34 +0000 (15:51 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 10 Aug 2021 06:19:41 +0000 (15:19 +0900)
src/udev/udevd.c

index be975020c99b267b33c9ef41ed7e8f0456cb8021..c61da46c3700e143112e7ae38815fc1bb53e5820 100644 (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;
         }