Skip to content

Commit

Permalink
Fix: invalid variable reference from getopts
Browse files Browse the repository at this point in the history
  • Loading branch information
DrizzlyOwl committed Jan 7, 2025
1 parent d20c6d2 commit d026347
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 d026347

Please sign in to comment.