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

@@ -52,12 +52,12 @@ fi
PROSODY_CFG="/config/prosody.cfg.lua"
# Validate required passwords
if [[ -z $JICOFO_AUTH_PASSWORD ]]; then
if [[ -z "$JICOFO_AUTH_PASSWORD" ]]; then
echo '[register-setup] FATAL ERROR: Jicofo auth password must be set'
exit 1
fi
if [[ -z $JVB_AUTH_PASSWORD ]]; then
if [[ -z "$JVB_AUTH_PASSWORD" ]]; then
echo '[register-setup] FATAL ERROR: JVB auth password must be set'
exit 1
fi