aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2020-08-21 23:25:53 +0200
committerGravatar Christian Hesse <mail@eworm.de>2020-08-21 23:25:53 +0200
commitcc375704f35be7fa454335c20087daec030381db (patch)
tree4cad1c0ed54bcf31744876e50460fab95ae4aab3
parentb68b997c1ea0882f89df4425ed39c6ce0dc653aa (diff)
global-functions: $TimeIsSync: return false if ntp client enabled but not synced
-rw-r--r--global-functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/global-functions b/global-functions
index e6e51c0..95437c6 100644
--- a/global-functions
+++ b/global-functions
@@ -773,6 +773,7 @@
:return true;
}
}
+ :return false;
}
:if ([ / ip cloud get update-time ] = true && \