From 557d48f3e496e45e49061218018bded414f9ec07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20P=C3=B6hls?= Date: Tue, 15 Aug 2023 09:54:42 +0200 Subject: [PATCH] formatting --- start-redis.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/start-redis.sh b/start-redis.sh index 3b3c737..b9d569f 100755 --- a/start-redis.sh +++ b/start-redis.sh @@ -15,11 +15,11 @@ fi DOCKER_RUN_ARGS="--name $REDIS_CONTAINER_NAME --publish $REDIS_PORT:6379 --detach $REDIS_IMAGE:$REDIS_VERSION" -if [ -n "$REDIS_PASSWORD" ] ; then +if [ -n "$REDIS_PASSWORD" ]; then DOCKER_RUN_ARGS="$DOCKER_RUN_ARGS redis-server --requirepass $REDIS_PASSWORD" fi -if [ "$REDIS_REMOVE_CONTAINER" == "true" ] ; then +if [ "$REDIS_REMOVE_CONTAINER" == "true" ]; then DOCKER_RUN_ARGS="$DOCKER_RUN_ARGS --rm" fi