Set return status of is_clear() to booleans
This commit is contained in:
parent
53a4f7f73c
commit
345de155fa
@ -167,9 +167,9 @@ is_clear () {
|
|||||||
|
|
||||||
|
|
||||||
if [[ ${avg10} -lt ${clear_threshold} ]]; then
|
if [[ ${avg10} -lt ${clear_threshold} ]]; then
|
||||||
return 0
|
true
|
||||||
else
|
else
|
||||||
return 1
|
false
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user