refactor(templates): wrap shell variables in conditions with double quotes
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
156e36e97f
commit
ab3a7c2621
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user