aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-05-17 23:41:54 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-05-17 23:41:54 +0200
commit83a8743879918942dba3d81894f12ca2cff6dc4f (patch)
tree55b1ab1fb007ce6879ad42fd72abb3e25b1d4929 /global-functions
parent31799940177cf2c5f8860fba6bd4cc81cbba8244 (diff)
global-functions: $WaitTimeSync: replace comment with debug output
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;