bundles/systemd: systemd-timesyncd not showing offset is an error
This commit is contained in:
parent
8a0ae4fa10
commit
6d49889f2f
1 changed files with 2 additions and 2 deletions
|
@ -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:]
|
||||
|
|
Loading…
Reference in a new issue