From 7352d110deb0ab981fc8d486c4473c797f3737db Mon Sep 17 00:00:00 2001 From: Wei He Date: Sun, 29 May 2022 16:37:52 +0800 Subject: [PATCH] fix if syntax error in script --- deploy_jitsi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy_jitsi.sh b/deploy_jitsi.sh index 875531c..a0b4855 100755 --- a/deploy_jitsi.sh +++ b/deploy_jitsi.sh @@ -25,7 +25,7 @@ export ACME_EMAIL=$2 if [[ "${FQDN}" =~ ^[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+$ ]]; then export PUBLIC_IP=${FQDN} export FQDN="" - if [ -z "${TLS_CERT}" ] || [ -z "${TLS_KEY}" ]; + if [ -z "${TLS_CERT}" ] || [ -z "${TLS_KEY}" ]; then err "both of 'TLS_CERT' and 'TLS_KEY' envvars should be specified when deploying without domain name" fi else