web-add generate-ssl-certificate: FALSE option should match documented case

This commit is contained in:
David Prevot 2022-07-19 14:18:04 +02:00
parent 66ceacd918
commit fb78d2a9ed
1 changed files with 1 additions and 1 deletions

View File

@ -944,7 +944,7 @@ op_generatesslcertificate() {
vhost="$1" vhost="$1"
test_mode="$2" test_mode="$2"
if [ "$test_mode" = "false" ]; then if [ "$test_mode" = "FALSE" ]; then
if [ -L /etc/letsencrypt/$vhost/live ]; then if [ -L /etc/letsencrypt/$vhost/live ]; then
rm /etc/letsencrypt/$vhost/live rm /etc/letsencrypt/$vhost/live
fi fi