diff --git a/setup-key.sh b/setup-key.sh index 507bd47..a5d66cf 100755 --- a/setup-key.sh +++ b/setup-key.sh @@ -32,7 +32,7 @@ URL="https://git.abstractnonsen.se/${OWNER}/${REPOSITORY}" if curl --output /dev/null --silent --head --fail "${URL}"; then read -p -n 1 -r "Url ${URL} is not (publicly) accessible, are you sure you want to continue? [y/N] " echo - if [[ ! $REPLY =~ ^[Yy]$ ]] + if [[ ! $REPLY =~ ^[Yy]$ ]]; then exit 1 fi fi