Skip to content

Commit

Permalink
udev: fix inversed inequality for timeout of retrying event
Browse files Browse the repository at this point in the history
Follow-up for 5d354e5.
  • Loading branch information
yuwata authored and DaanDeMeyer committed Aug 22, 2022
1 parent 695cfd5 commit 400e3d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/udev/udevd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 400e3d2

Please sign in to comment.