diff --git a/src/bin/init.sh b/src/bin/init.sh index 5f55483..9c78a9d 100644 --- a/src/bin/init.sh +++ b/src/bin/init.sh @@ -44,7 +44,7 @@ if [ ! -d "${GIT_WEBHOOK_BASE_FOLDER}" ]; then fi; # branch name not set -if [ -n "${BRANCH}" ]; then +if [ -z "${BRANCH}" ]; then echo "[!] No branch name given"; error=1; fi;