global-functions: $WaitTimeSync: replace comment with debug output

This commit is contained in:
Christian Hesse 2020-05-17 23:41:54 +02:00
parent 3179994017
commit 83a8743879

View file

@ -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;