From 345de155fa3acf8258aac11a0556486485d9ec25 Mon Sep 17 00:00:00 2001 From: Trey Blancher Date: Sat, 12 Aug 2023 16:19:01 -0400 Subject: [PATCH] Set return status of is_clear() to booleans --- psi-alerts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/psi-alerts.sh b/psi-alerts.sh index b0b80e3..e657543 100755 --- a/psi-alerts.sh +++ b/psi-alerts.sh @@ -167,9 +167,9 @@ is_clear () { if [[ ${avg10} -lt ${clear_threshold} ]]; then - return 0 + true else - return 1 + false fi }