mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: $WaitTimeSync: replace comment with debug output
This commit is contained in:
parent
3179994017
commit
83a8743879
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue