]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sysctl: bump loglevel when attempting to write invalid values 868/head
authorJan Synacek <jsynacek@redhat.com>
Tue, 4 Aug 2015 13:46:34 +0000 (15:46 +0200)
committerJan Synacek <jsynacek@redhat.com>
Wed, 5 Aug 2015 07:42:50 +0000 (09:42 +0200)
src/sysctl/sysctl.c

index fe277a20151c249c59ed092492b340fb43fbd8d5..ee0f57cfecbd88d1082271265e4c16de1f33b606 100644 (file)
@@ -51,7 +51,7 @@ static int apply_all(Hashmap *sysctl_options) {
 
                 k = sysctl_write(property, value);
                 if (k < 0) {
-                        log_full_errno(k == -ENOENT ? LOG_DEBUG : LOG_WARNING, k,
+                        log_full_errno(k == -ENOENT ? LOG_INFO : LOG_WARNING, k,
                                        "Failed to write '%s' to '%s': %m", value, property);
 
                         if (r == 0 && k != -ENOENT)