summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-05 10:58:54 +0300
committerLennart Poettering <lennart@poettering.net>2015-08-05 10:58:54 +0300
commitb2627f5ac42d86163a6b08f19a1aea472df999de (patch)
tree21ea96e6f7673d05143e39276bd98f0726ac6211
parent9ae742ea4f40da6150efeba7be06464fa031e123 (diff)
parent9bcfdd74fc414f48a3c12d16c17c3e31102a0f62 (diff)
Merge pull request #868 from jsynacek/jsynacek/sysctl
sysctl: bump loglevel when attempting to write invalid values [v2]
-rw-r--r--src/sysctl/sysctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sysctl/sysctl.c b/src/sysctl/sysctl.c
index fe277a2015..ee0f57cfec 100644
--- a/src/sysctl/sysctl.c
+++ b/src/sysctl/sysctl.c
@@ -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)