chiark / gitweb /
info() for ignore_remove
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 21 Jun 2007 09:40:07 +0000 (11:40 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 21 Jun 2007 09:40:07 +0000 (11:40 +0200)
udev_device.c

index d50c5ae..bbf7963 100644 (file)
@@ -239,8 +239,8 @@ int udev_device_event(struct udev_rules *rules, struct udevice *udev)
                if (udev_db_get_device(udev, udev->dev->devpath) == 0) {
                        udev_db_delete_device(udev);
                        if (udev->ignore_remove) {
-                               dbg("remove event for '%s' requested to be ignored by rule", udev->name);
-                               return 0;
+                               info("ignore_remove for '%s'", udev->name);
+                               goto exit;
                        }
                        /* restore stored persistent data */
                        list_for_each_entry(name_loop, &udev->env_list, node)