From: Kay Sievers Date: Wed, 19 Aug 2009 05:34:07 +0000 (+0200) Subject: warn about non-readable or empty rules file X-Git-Tag: 174~821 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24d1fea8bd609f9eb7901efd7cba7f2dee05f557;p=systemd warn about non-readable or empty rules file --- diff --git a/udev/udev-rules.c b/udev/udev-rules.c index 3ca209a8..eeb71bc8 100644 --- a/udev/udev-rules.c +++ b/udev/udev-rules.c @@ -1798,7 +1798,7 @@ struct udev_rules *udev_rules_new(struct udev *udev, int resolve_names) if (stat(filename, &statbuf) == 0 && statbuf.st_size > 0) parse_file(rules, filename, filename_off); else - info(udev, "can not read '%s'\n", filename); + err(udev, "can not read '%s'\n", filename); udev_list_entry_delete(file_loop); }