Fix condition for skipping certificate generation in self-signed.py

This commit is contained in:
Théophile Diot 2024-03-12 15:07:02 +00:00
parent 7d0c638bc9
commit 59fc302b89
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -106,7 +106,7 @@ try:
sys_exit(0)
skipped_servers = []
if not getenv("MULTISITE", "no") == "yes":
if getenv("MULTISITE", "no") == "no":
servers = [servers[0]]
if getenv("GENERATE_SELF_SIGNED_SSL", "no") == "no":
LOGGER.info("Generate self-signed SSL is not enabled, skipping certificate generation ...")