mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-27 13:57:26 +03:00
sysctl: reword warning message a bit
Let's make this less dramatic, in order to not confuse people too much making them think that this was something to actually fix.
This commit is contained in:
parent
b2627f5ac4
commit
384c5b44fe
@ -52,7 +52,7 @@ static int apply_all(Hashmap *sysctl_options) {
|
||||
k = sysctl_write(property, value);
|
||||
if (k < 0) {
|
||||
log_full_errno(k == -ENOENT ? LOG_INFO : LOG_WARNING, k,
|
||||
"Failed to write '%s' to '%s': %m", value, property);
|
||||
"Couldn't write '%s' to '%s', ignoring: %m", value, property);
|
||||
|
||||
if (r == 0 && k != -ENOENT)
|
||||
r = k;
|
||||
|
Loading…
x
Reference in New Issue
Block a user