From 885556f83e5b22a6f794917097612bafa36edb65 Mon Sep 17 00:00:00 2001 From: Enrico Zimuel Date: Mon, 20 Jan 2025 15:48:35 +0100 Subject: [PATCH] Fixed bad name variable, issue #30 --- start-local.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/start-local.sh b/start-local.sh index cc0ee4d..950afbc 100755 --- a/start-local.sh +++ b/start-local.sh @@ -220,7 +220,7 @@ create_api_key() { # parameter: the name of the container check_container_running() { container_name=$1 - containers=$(docker ps --format '{{.Names}}') + containers="$(docker ps --format '{{.Names}}')" if echo "$containers" | grep -q "^${container_name}$"; then echo "The docker container '$container_name' is already running!" echo "You can have only one running at time."