aboutsummaryrefslogtreecommitdiffstats
path: root/global-functions
diff options
context:
space:
mode:
Diffstat (limited to 'global-functions')
-rw-r--r--global-functions10
1 files changed, 2 insertions, 8 deletions
diff --git a/global-functions b/global-functions
index 1acf11f..6f1a6c5 100644
--- a/global-functions
+++ b/global-functions
@@ -484,14 +484,8 @@
:global LogPrintExit2;
:if ([ /system/ntp/client/get enabled ] = true) do={
- :do {
- :if ([ /system/ntp/client/get status ] = "synchronized") do={
- :return true;
- }
- } on-error={
- :if ([ :typeof [ /system/ntp/client/get last-adjustment ] ] = "time") do={
- :return true;
- }
+ :if ([ /system/ntp/client/get status ] = "synchronized") do={
+ :return true;
}
:return false;
}