diff options
author | Harald Hoyer <harald@redhat.com> | 2014-05-20 12:25:16 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2014-05-20 12:25:16 +0200 |
commit | 83be2c398589a3d64db5999cfd5527c5219bff46 (patch) | |
tree | b38a575c21f24d3c01614b8e4a0ca2259b4206af /src/udev/udevadm-test.c | |
parent | 8477107dec4c89e2b85dfbf92051d96dd4f51480 (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.
Diffstat (limited to 'src/udev/udevadm-test.c')
0 files changed, 0 insertions, 0 deletions