summaryrefslogtreecommitdiffstats
path: root/discover
diff options
context:
space:
mode:
Diffstat (limited to 'discover')
-rw-r--r--discover/udev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/discover/udev.c b/discover/udev.c
index c81183f..cd2a61e 100644
--- a/discover/udev.c
+++ b/discover/udev.c
@@ -102,8 +102,6 @@ static int udev_handle_dev_action(struct udev_device *dev, const char *action)
return -1;
}
- print_device_properties(dev);
-
/* Ignore non disk or partition, ram, loop. */
if (!(strstr(devtype, "disk") || strstr(devtype, "partition"))
@@ -124,6 +122,8 @@ static int udev_handle_dev_action(struct udev_device *dev, const char *action)
return 0;
}
+ print_device_properties(dev);
+
event = talloc(NULL, struct event);
event->type = EVENT_TYPE_UDEV;
OpenPOWER on IntegriCloud