web-add generate-ssl-certificate: FALSE option should match documented case
This commit is contained in:
parent
66ceacd918
commit
fb78d2a9ed
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue