Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Warner <me@adamwarner.co.uk>2022-01-06 02:00:01 +0300
committerGitHub <noreply@github.com>2022-01-06 02:00:01 +0300
commit875ad04fde48cd4855d7048f87e50de6e72df0fe (patch)
treea5dd4ebf0a98457fc8c5e6f135503bd75df551d5
parent2ff10fcd0a5464255d9c004541e6b23d7b42662f (diff)
parent0124e491d0915e18be4b409ccee99e51a593b033 (diff)
Merge pull request #4522 from pi-hole/developmentv5.8.1
v5.8.1
-rwxr-xr-xadvanced/Scripts/chronometer.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/advanced/Scripts/chronometer.sh b/advanced/Scripts/chronometer.sh
index 312c484f..fddb3936 100755
--- a/advanced/Scripts/chronometer.sh
+++ b/advanced/Scripts/chronometer.sh
@@ -357,7 +357,7 @@ get_sys_stats() {
ram_used="${ram_raw[1]}"
ram_total="${ram_raw[2]}"
- if [[ "$(pihole status web 2> /dev/null)" == "1" ]]; then
+ if [[ "$(pihole status web 2> /dev/null)" -ge "1" ]]; then
ph_status="${COL_LIGHT_GREEN}Active"
else
ph_status="${COL_LIGHT_RED}Offline"