Merge pull request #4521 from pi-hole/fix/chronometer

Fix/chronometer
pull/4522/head
Adam Warner 2 years ago committed by GitHub
commit 0124e491d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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"

Loading…
Cancel
Save