From e7693f729f0b39b1d11e6836c4d9fddcec375809 Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Sat, 26 Mar 2022 04:58:48 +0100 Subject: [PATCH] fix convert_bool sigh --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" } #=================================================