do not complain about a missing /etc/udev/rules.d/

Scott mentioned that initramfs does not neccessarily have that
directory, so do not log an error.
This commit is contained in:
Kay Sievers 2009-01-15 17:52:17 +01:00
parent 66d9b44f83
commit 92e52e2fd1

View 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;
}