summaryrefslogtreecommitdiff
path: root/src/timesync/timesyncd-conf.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2020-09-10 14:13:26 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2020-09-10 14:13:26 +0900
commitc56566530b8635e19105b33bbbd6d1e9a2fa53ea (patch)
treec1f9c6d280680ced4ab8a1a97df4660379406a22 /src/timesync/timesyncd-conf.c
parent40f04cde5bd15eb63094a6a7dc4d061fc4051939 (diff)
downloadsystemd-c56566530b8635e19105b33bbbd6d1e9a2fa53ea.tar.gz
timesync: downgrade error level when the error will be ignored
Diffstat (limited to 'src/timesync/timesyncd-conf.c')
-rw-r--r--src/timesync/timesyncd-conf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/timesync/timesyncd-conf.c b/src/timesync/timesyncd-conf.c
index 532d6ea7ec..d7ec94e487 100644
--- a/src/timesync/timesyncd-conf.c
+++ b/src/timesync/timesyncd-conf.c
@@ -89,7 +89,8 @@ int config_parse_servers(
else {
r = manager_parse_server_string(m, ltype, rvalue);
if (r < 0) {
- log_syntax(unit, LOG_ERR, filename, line, r, "Failed to parse NTP server string '%s'. Ignoring.", rvalue);
+ log_syntax(unit, LOG_WARNING, filename, line, r,
+ "Failed to parse NTP server string '%s', ignoring: %m", rvalue);
return 0;
}
}