chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
udevd: clarify worker exit status
[elogind.git]
/
libudev
/
test-libudev.c
diff --git
a/libudev/test-libudev.c
b/libudev/test-libudev.c
index 9dc86bd918aed2cdaba6216ecdb18f5e6d59fc49..4192ba14b24db7f65b98b3f0d7357704811a884a 100644
(file)
--- a/
libudev/test-libudev.c
+++ b/
libudev/test-libudev.c
@@
-286,9
+286,7
@@
static int test_monitor(struct udev *udev)
}
print_device(device);
udev_device_unref(device);
- }
-
- if (ev[i].data.fd == STDIN_FILENO && ev[i].events & EPOLLIN) {
+ } else if (ev[i].data.fd == STDIN_FILENO && ev[i].events & EPOLLIN) {
printf("exiting loop\n");
goto out;
}