Explorar el Código

Fix bash condition formatting

Tim Farrell hace 1 año
padre
commit
8298cefd62
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      backend/start.sh

+ 1 - 1
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