]> err.no Git - systemd/commitdiff
do not complain about a missing /etc/udev/rules.d/
authorKay Sievers <kay.sievers@vrfy.org>
Thu, 15 Jan 2009 16:52:17 +0000 (17:52 +0100)
committerKay Sievers <kay.sievers@vrfy.org>
Thu, 15 Jan 2009 16:52:17 +0000 (17:52 +0100)
Scott mentioned that initramfs does not neccessarily have that
directory, so do not log an error.

udev/udev-rules.c

index 7ba52208fb243daafaf971d82befe26cbb15d451..c5f44aa20fa5683c3a202b9893f1e10f7be87d36 100644 (file)
@@ -1649,7 +1649,7 @@ static int add_matching_files(struct udev *udev, struct udev_list_node *file_lis
        dbg(udev, "open directory '%s'\n", dirname);
        dir = opendir(dirname);
        if (dir == NULL) {
-               err(udev, "unable to open '%s': %m\n", dirname);
+               info(udev, "unable to open '%s': %m\n", dirname);
                return -1;
        }