diff options
-rw-r--r-- | global-functions | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/global-functions b/global-functions index b95e9cf..53aed48 100644 --- a/global-functions +++ b/global-functions @@ -731,7 +731,11 @@ :while ([ $TimeIsSync ] = false) do={ :if ([ / system script print count-only where name="rotate-ntp" ] > 0 && \ [ :tostr [ / system resource get uptime ] ] ~ "00\$") do={ - / system script run rotate-ntp; + :do { + / system script run rotate-ntp; + } on-error={ + # catch error and fall through + } } :delay 1s; } |