timedatectl: fix status output (#7696)

Follow-up for 3ec530a189.

Fixes #7693.
This commit is contained in:
Yu Watanabe
2017-12-19 11:15:50 +01:00
committed by Zbigniew Jędrzejewski-Szmek
parent 2a5fcfae02
commit a51986154f
+1 -1
View File
@@ -129,8 +129,8 @@ static void print_status_info(const StatusInfo *i) {
"systemd-timesyncd.service active: %s\n"
" RTC in local TZ: %s\n",
strna(i->timezone), have_time && n > 0 ? a : "n/a",
i->ntp_capable ? yes_no(i->ntp_enabled) : "n/a",
yes_no(i->ntp_synced),
i->ntp_capable ? yes_no(i->ntp_enabled) : "n/a",
yes_no(i->rtc_local));
if (i->rtc_local)