]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
timesync: downgrade error level when the error will be ignored
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 10 Sep 2020 05:13:26 +0000 (14:13 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 10 Sep 2020 05:13:26 +0000 (14:13 +0900)
src/timesync/timesyncd-conf.c

index 532d6ea7ec00f594a525ce5e49c1266a8388a36d..d7ec94e487b561b252c76b6c6a8fab435056740e 100644 (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;
                 }
         }