From 92e52e2fd1698547ccec3feec479178c6988479d Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Thu, 15 Jan 2009 17:52:17 +0100 Subject: [PATCH] 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. --- udev/udev-rules.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.39.5