evoacme: invert test logic

This commit is contained in:
Jérémy Lecour 2017-10-13 14:05:05 +02:00 committed by Jérémy Lecour
parent baa5eae784
commit 350abe5787

View file

@ -209,7 +209,7 @@ main() {
#### CERTIFICATE ACTIVATION
if [ -h "${LIVE_DIR}" ]; then
if [ ! -h "${LIVE_DIR}" ]; then
# We don't have a live symlink yet
# Let's start from scratch and configure our web server(s)
command -v apache2ctl && sed_cert_path_for_apache "${VHOST}" "${LIVE_FULLCHAIN}"