aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions3
1 files changed, 2 insertions, 1 deletions
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;