fix missing then

This commit is contained in:
Maximilian Keßler 2023-10-19 13:51:49 +02:00
parent f9f5ce8180
commit 071175ba67
Signed by: max
GPG Key ID: BCC5A619923C0BA5

View File

@ -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