From cc0687ec0fc80c0119fb4cbf938c417cb98f42c8 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sun, 5 Nov 2017 11:59:29 -0500 Subject: [PATCH] fix: compare the env var to string true, not boolean true --- plugins/git/functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/git/functions b/plugins/git/functions index 21fc999ae..5c2c09d46 100755 --- a/plugins/git/functions +++ b/plugins/git/functions @@ -38,7 +38,7 @@ git_build_app_repo() { DOKKU_GLOBAL_DISABLE_AUTOCREATE="$(config_get --global DOKKU_DISABLE_APP_AUTOCREATION || true)" if [[ ! -d "$DOKKU_ROOT/$APP" ]]; then - if [[ "$DOKKU_GLOBAL_DISABLE_AUTOCREATE" == true ]]; then + if [[ "$DOKKU_GLOBAL_DISABLE_AUTOCREATE" == "true" ]]; then dokku_log_warn "Invalid app name '$APP' specified." dokku_log_fail "Check the name of the app or create an app with 'dokku apps:create ${APP}'" else