From 8298cefd62cad4b66b2225852547b5b58f32c0a5 Mon Sep 17 00:00:00 2001 From: Tim Farrell Date: Fri, 2 Feb 2024 08:45:47 -0600 Subject: [PATCH] Fix bash condition formatting --- backend/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/start.sh b/backend/start.sh index ac5d48a7a..c9f5a05b1 100755 --- a/backend/start.sh +++ b/backend/start.sh @@ -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