From 6d49889f2f7721536e07ca8c37f9d7caa5402600 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 17 Dec 2022 11:41:37 +0100 Subject: [PATCH] bundles/systemd: systemd-timesyncd not showing offset is an error --- bundles/systemd/files/check_timesyncd_sync | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/systemd/files/check_timesyncd_sync b/bundles/systemd/files/check_timesyncd_sync index bde95a2..1e2e511 100644 --- a/bundles/systemd/files/check_timesyncd_sync +++ b/bundles/systemd/files/check_timesyncd_sync @@ -26,8 +26,8 @@ try: ).strip().decode() if not out: - print('NTP service is active, but could not get offset. This is probably fine.') - exit(0) + print('NTP service is active, but could not get offset. Something is wrong.') + exit(1) if out.startswith('+'): out = out[1:]