If arg 2 ($2) is 0, behave normally

This commit is contained in:
Matt McWilliams 2021-11-28 22:18:09 -05:00
parent cffc6dedfb
commit fe1418561c
1 changed files with 1 additions and 1 deletions

View File

@ -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}"