web-add generate-ssl-certificate: false option should be documented as is

As fb78d2a9ed, but the other way around: update only the documentation
instead of the code, so that existing use does not change.
This commit is contained in:
David Prevot 2022-07-19 16:39:17 +02:00
parent 2301b0cba5
commit e257ee242b
1 changed files with 3 additions and 3 deletions

View File

@ -166,10 +166,10 @@ generate-csr LOGIN DOMAINS
Generate the request for the Let's Encrypt certificate
generate-ssl-certificate LOGIN [FALSE]
generate-ssl-certificate LOGIN [false]
Generate the Let's Encrypt certificate
Run in TEST mode unless FALSE
Run in TEST mode unless "false" is used
EOT
}
@ -944,7 +944,7 @@ op_generatesslcertificate() {
vhost="$1"
test_mode="$2"
if [ "$test_mode" = "FALSE" ]; then
if [ "$test_mode" = "false" ]; then
if [ -L /etc/letsencrypt/$vhost/live ]; then
rm /etc/letsencrypt/$vhost/live
fi