From 59aef9a40850040b84b1464318c13f6e9656929b Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 17 Jan 2021 14:41:49 -0500 Subject: [PATCH] chore: use -z for checking for empty value --- bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 4165214ce..8deaefe31 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -22,7 +22,7 @@ log-fail() { ensure-environment() { local FREE_MEMORY - if [ ! $DOKKU_TAG ]; then + if [[ -z "$DOKKU_TAG" ]]; then echo "Preparing to install $DOKKU_REPO..." else echo "Preparing to install $DOKKU_TAG from $DOKKU_REPO..."