mirror of
https://github.com/eworm-de/routeros-scripts.git
synced 2024-05-11 05:55:19 +00:00
global-functions: $WaitTimeSync: replace comment with debug output
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user