Remove stray esac and adjust indentation

This commit is contained in:
jacob.eva 2023-09-21 18:32:34 +01:00
parent 78072dcce7
commit b5b1d5911b
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E

View File

@ -29,8 +29,6 @@ for vhost in ${domains[@]}; do # for each vhost
pacman -S --noconfirm certbot
certbot -d "$vhost" certonly --standalone --register-unsafely-without-email --agree-tos # request cert with certbot
fi
esac
[ ! -d "$certdir[$index]" ] && echo "Error locating or installing SSL certificate." && exit 1
done