diff --git a/gen-unifi-cert.sh b/gen-unifi-cert.sh index 828ddb6..9363079 100755 --- a/gen-unifi-cert.sh +++ b/gen-unifi-cert.sh @@ -36,7 +36,7 @@ for val in "${domains[@]}"; do done -if ( $renew == "yes" ) { +if ( $renew == "yes" ); then LEOPTIONS=${RENEWCERT} else LEOPTIONS="${email} ${DOMAINS} ${NEWCERT}"