diff options
author | Nir Soffer <nirsof@gmail.com> | 2015-04-08 04:04:16 +0300 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2015-04-11 12:35:07 +0200 |
commit | 0736455b1186c9515e0f093e1e686e684d225787 (patch) | |
tree | 2d5033db5917183149b8dd6fb8c6ebf419dbeb65 /src/test/test-fdset.c | |
parent | 64713f92528e8443b7ff2ce3ec0394920a751fb1 (diff) |
udev: restore udevadm settle timeout
Commit 9ea28c55a2 (udev: remove seqnum API and all assumptions about
seqnums) introduced a regresion, ignoring the timeout option when
waiting until the event queue is empty.
Previously, if the udev event queue was not empty when the timeout was
expired, udevadm settle was returning with exit code 1. To check if the
queue is empty, you could invoke udevadm settle with timeout=0. This
patch restores the previous behavior.
(David: fixed timeout==0 handling and dropped redundant assignment)
Diffstat (limited to 'src/test/test-fdset.c')
0 files changed, 0 insertions, 0 deletions