timesync: downgrade error level when the error will be ignored

This commit is contained in:
Yu Watanabe 2020-09-10 14:13:26 +09:00
parent 40f04cde5b
commit c56566530b
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}
}