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 }