refactor(templates): wrap shell variables in conditions with double quotes

This commit is contained in:
emrah
2026-02-12 19:30:21 +03:00
committed by Saúl Ibarra Corretgé
parent 156e36e97f
commit ab3a7c2621
6 changed files with 10 additions and 10 deletions

View File

@@ -65,7 +65,7 @@ fi
tpl /defaults/prosody.cfg.lua > $PROSODY_CFG
tpl /defaults/conf.d/$PROSODY_SITE_CFG > /config/conf.d/$PROSODY_SITE_CFG
if [[ -z $JICOFO_AUTH_PASSWORD ]]; then
if [[ -z "$JICOFO_AUTH_PASSWORD" ]]; then
echo 'FATAL ERROR: Jicofo auth password must be set'
exit 1
fi
@@ -83,7 +83,7 @@ fi
# User registration is now handled by the 70-register-setup service after prosody starts
if [[ -z $JVB_AUTH_PASSWORD ]]; then
if [[ -z "$JVB_AUTH_PASSWORD" ]]; then
echo 'FATAL ERROR: JVB auth password must be set'
exit 1
fi