From d026347d2d668bb87515c465e584da50c221ca26 Mon Sep 17 00:00:00 2001 From: Ash Davies <3853061+DrizzlyOwl@users.noreply.github.com> Date: Tue, 7 Jan 2025 16:35:09 +0000 Subject: [PATCH] Fix: invalid variable reference from getopts --- script/init-docker-entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/init-docker-entrypoint.sh b/script/init-docker-entrypoint.sh index efc5b0c9..28932042 100644 --- a/script/init-docker-entrypoint.sh +++ b/script/init-docker-entrypoint.sh @@ -4,10 +4,10 @@ set -e set -o pipefail -while getopts "c" opt; do +while getopts "c:" opt; do case $opt in c) - CONNECTION_STRING=$opt + CONNECTION_STRING=$OPTARG ;; *) usage