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:
parent
66d9b44f83
commit
92e52e2fd1
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue