diff options
author | Harald Hoyer <harald@redhat.com> | 2014-05-20 12:25:16 +0200 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-05-23 08:54:40 -0400 |
commit | e936eee10fe09d423cdb0754de92ed7fb111f561 (patch) | |
tree | a4d28a37701b9d19300985b9afdcdcaced1aedc2 /src/gudev | |
parent | db1e5f3021c49c4a320e70a8f9827855f2da385e (diff) |
udevadm-settle: fixed return code for empty queue
If the udev queue is empty and "/run/udev/queue" does not exist,
"udevadm settle" would return with EXIT_FAILURE, because the inotify on
"/run/udev/queue" would fail with ENOENT.
This patch lets "udevadm settle" exit with EXIT_SUCCESS in this case.
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/gudev')
0 files changed, 0 insertions, 0 deletions