29 lines
812 B
Diff
29 lines
812 B
Diff
From 5f4bca9dccdd9e9a888587c6224b08ae5fbe3bdb Mon Sep 17 00:00:00 2001
|
|
From: Yu Watanabe <watanabe.yu+github@gmail.com>
|
|
Date: Thu, 17 Jun 2021 15:51:34 +0900
|
|
Subject: [PATCH] udev: do not try to process events if there is no free worker
|
|
|
|
Reference:https://github.com/systemd/systemd/commit/5f4bca9dccdd9e9a888587c6224b08ae5fbe3bdb
|
|
Conflict:NA
|
|
|
|
---
|
|
src/udev/udevd.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/udev/udevd.c b/src/udev/udevd.c
|
|
index 7f41336..e99c2c0 100644
|
|
--- a/src/udev/udevd.c
|
|
+++ b/src/udev/udevd.c
|
|
@@ -927,7 +927,7 @@ static int event_queue_start(Manager *manager) {
|
|
continue;
|
|
|
|
r = event_run(event);
|
|
- if (r < 0)
|
|
+ if (r <= 0)
|
|
return r;
|
|
}
|
|
|
|
--
|
|
2.33.0
|
|
|