From 043ee6cca83f680ff0e982344d139e6977195a36 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco <santilococo.01@gmail.com> Date: Fri, 14 Jan 2022 01:14:11 -0300 Subject: [PATCH] Run shellcheck (common.sh) --- scripts/common.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/common.sh b/scripts/common.sh index fdb7acc..d17acca 100644 --- a/scripts/common.sh +++ b/scripts/common.sh @@ -46,7 +46,7 @@ useDialog() { height=$((height+2)) fi formatOptions "$@" - if [ $found = false ]; then + if [ "$found" = false ]; then dialog "$@" ${height} ${width} else dialog "${options[@]}" @@ -76,7 +76,7 @@ useWhiptail() { height=$((height-1)) fi formatOptions "$@" - if [ $found = false ]; then + if [ "$found" = false ]; then height=0; width=0 whiptail "$@" ${height} ${width} else