Skip to content

Commit

Permalink
Merge pull request #669 from DFE-Digital/init-container
Browse files Browse the repository at this point in the history
Fix: invalid variable reference from getopts
  • Loading branch information
DrizzlyOwl authored Jan 7, 2025
2 parents d20c6d2 + d026347 commit 9b72f8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/init-docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b72f8f

Please sign in to comment.