diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/udev/udevadm-settle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udevadm-settle.c b/src/udev/udevadm-settle.c index 2c84ada0b1..437c79408a 100644 --- a/src/udev/udevadm-settle.c +++ b/src/udev/udevadm-settle.c @@ -142,7 +142,7 @@ static int adm_settle(struct udev *udev, int argc, char *argv[]) { break; } - if (timeout > 0 && now(CLOCK_MONOTONIC) >= deadline) + if (now(CLOCK_MONOTONIC) >= deadline) break; /* wake up when queue is empty */ |