From 25a7c442028ed3d2d75a554cfa5da7b1ac4724bb Mon Sep 17 00:00:00 2001 From: Jeremy Kerr Date: Wed, 8 May 2013 20:21:59 +0800 Subject: discover/udev: Don't print properties of skipped devices This cleans up the log output a little. Signed-off-by: Jeremy Kerr --- discover/udev.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'discover') 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; -- cgit v1.2.1