From e257ee242b5c9219c9eac42c26d1b77018ed11df Mon Sep 17 00:00:00 2001 From: David Prevot Date: Tue, 19 Jul 2022 16:39:17 +0200 Subject: [PATCH] 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. --- scripts/web-add.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/web-add.sh b/scripts/web-add.sh index db39499..3ba2c67 100755 --- a/scripts/web-add.sh +++ b/scripts/web-add.sh @@ -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