From: Kay Sievers Date: Thu, 15 Jan 2009 16:52:17 +0000 (+0100) Subject: do not complain about a missing /etc/udev/rules.d/ X-Git-Tag: 174~1202 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92e52e2fd1698547ccec3feec479178c6988479d;p=systemd 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. --- diff --git a/udev/udev-rules.c b/udev/udev-rules.c index 7ba52208..c5f44aa2 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -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; }