diff --git a/scripts/_common.sh b/scripts/_common.sh index 6d394d9..53f06a4 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -33,7 +33,7 @@ detect_arch(){ # custom function to change bash bool 0/1 to false/true convert_bool(){ - $1 && echo "true" || echo "false" + (($1)) && echo "true" || echo "false" } #=================================================