Set return status of is_clear() to booleans
This commit is contained in:
1 parent
53a4f7f73c
commit
345de155fa
1 file changed
+2
-2
+2
-2
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user