From fe1418561cfb6a91dfcee1ff10b5ded816397595 Mon Sep 17 00:00:00 2001 From: mattmcw Date: Sun, 28 Nov 2021 22:18:09 -0500 Subject: [PATCH] If arg 2 ($2) is 0, behave normally --- draw.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/draw.sh b/draw.sh index 4e87bd9..34da1ca 100644 --- a/draw.sh +++ b/draw.sh @@ -20,7 +20,7 @@ if [[ "${3}" != "" ]]; then END=${3} fi -if [[ "${2}" == "" ]] && [[ $2 -eq 0 ]]; then +if [[ "${2}" == "" ]] || [[ $2 -eq 0 ]]; then name=`basename "${1}"` bash field.sh "${name}"