28 lines
920 B
Diff
28 lines
920 B
Diff
From 400e3d21f8cae53a8ba9f9567f244fbf6f3e076c Mon Sep 17 00:00:00 2001
|
|
From: Yu Watanabe <watanabe.yu+github@gmail.com>
|
|
Date: Fri, 19 Aug 2022 21:25:03 +0900
|
|
Subject: [PATCH] udev: fix inversed inequality for timeout of retrying event
|
|
|
|
Follow-up for 5d354e525a56955ae7f68062e283dda85ab07794.
|
|
|
|
Reference:https://github.com/systemd/systemd/commit/400e3d21f8cae53a8ba9f9567f244fbf6f3e076c
|
|
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 a6926bbfb71d..01162bc7b601 100644
|
|
--- a/src/udev/udevd.c
|
|
+++ b/src/udev/udevd.c
|
|
@@ -898,7 +898,7 @@ static int event_is_blocked(Event *event) {
|
|
if (r < 0)
|
|
return r;
|
|
|
|
- if (event->retry_again_next_usec <= now_usec)
|
|
+ if (event->retry_again_next_usec > now_usec)
|
|
return true;
|
|
}
|
|
|