Fix bash condition formatting

This commit is contained in:
Tim Farrell 2024-02-02 08:45:47 -06:00
parent 1031638d82
commit 8298cefd62

View file

@ -6,7 +6,7 @@ cd "$SCRIPT_DIR" || exit
KEY_FILE=.webui_secret_key
PORT="${PORT:-8080}"
if ["$WEBUI_SECRET_KEY $WEBUI_JWT_SECRET_KEY" = " "]; then
if test "$WEBUI_SECRET_KEY $WEBUI_JWT_SECRET_KEY" = " "; then
echo No WEBUI_SECRET_KEY provided
if ! [ -e "$KEY_FILE" ]; then