From 83a8743879918942dba3d81894f12ca2cff6dc4f Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sun, 17 May 2020 23:41:54 +0200 Subject: global-functions: $WaitTimeSync: replace comment with debug output --- global-functions | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'global-functions') diff --git a/global-functions b/global-functions index b4dae22..2ff1f43 100644 --- a/global-functions +++ b/global-functions @@ -730,6 +730,7 @@ # wait for time to become synced :set WaitTimeSync do={ + :global LogPrintExit; :global TimeIsSync; :while ([ $TimeIsSync ] = false) do={ @@ -738,7 +739,7 @@ :do { / system script run rotate-ntp; } on-error={ - # catch error and fall through + $LogPrintExit debug ("Running rotate-ntp failed.") false; } } :delay 1s; -- cgit v1.2.3-70-g09d2