summaryrefslogtreecommitdiff
path: root/udev/test-udev.c
diff options
context:
space:
mode:
Diffstat (limited to 'udev/test-udev.c')
-rw-r--r--udev/test-udev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/udev/test-udev.c b/udev/test-udev.c
index 75518f628d..28c833a9e5 100644
--- a/udev/test-udev.c
+++ b/udev/test-udev.c
@@ -108,7 +108,7 @@ int main(int argc, char *argv[])
if (udev_device_get_event_timeout(dev) >= 0)
alarm(udev_device_get_event_timeout(dev));
- if (err == 0 && udev_get_run(udev))
+ if (err == 0)
udev_event_execute_run(event, NULL);
udev_event_unref(event);