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()
|
).strip().decode()
|
||||||
|
|
||||||
if not out:
|
if not out:
|
||||||
print('NTP service is active, but could not get offset. This is probably fine.')
|
print('NTP service is active, but could not get offset. Something is wrong.')
|
||||||
exit(0)
|
exit(1)
|
||||||
|
|
||||||
if out.startswith('+'):
|
if out.startswith('+'):
|
||||||
out = out[1:]
|
out = out[1:]
|
||||||
|
|
Loading…
Reference in a new issue