diff --git a/webhooks-git/dadi-staging-init.sh b/webhooks-git/dadi-staging-init.sh index 83888b6..9f67fa8 100644 --- a/webhooks-git/dadi-staging-init.sh +++ b/webhooks-git/dadi-staging-init.sh @@ -29,7 +29,7 @@ wait_for_git_repository() { fi while true; do - if git ls-remote --heads "$DADI_STAGING_REPOSITORY" &>/dev/null; then + if git ls-remote --heads "$DADI_STAGING_REPOSITORY"; then echo "✓ Git repository is reachable!" return 0 fi