timedated: fix skipping of comments in config file
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 8 Mar 2021 19:49:53 +0000 (20:49 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 9 Mar 2021 05:04:21 +0000 (14:04 +0900)
commit03a81441b1a490f8fc2a19aeb9b23299657c380c
treefb5762cf48e3c5711811828eb829c09a9e628014
parenta2aa51b740a59cd94f759895d575399e30dfa154
timedated: fix skipping of comments in config file

Reading file '/usr/lib/systemd/ntp-units.d/80-systemd-timesync.list'
Failed to add NTP service "# This file is part of systemd.", ignoring: Invalid argument
Failed to add NTP service "# See systemd-timedated.service(8) for more information.", ignoring: Invalid argument

:(
src/timedate/timedated.c