summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 bd61aa0695..75518f628d 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 && !event->ignore_device && udev_get_run(udev))
+ if (err == 0 && udev_get_run(udev))
udev_event_execute_run(event, NULL);
udev_event_unref(event);