Skip to content

Commit 2e1e2b7

Browse files
committed
Fixed an issue with error reporting of bad script switches for docker/updatedb.
- Legacy-Id: 17681
1 parent 20c1bd5 commit 2e1e2b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/updatedb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ DOWNLOAD=1
7676
QUIET=""
7777

7878
if [ "$(uname)" = "Linux" ]; then
79-
args=$(getopt -o "$shortopts" --long "$longopts" -n '$program' -- $SV "$@")
79+
args=$(getopt -o "$shortopts" --long "$longopts" -n "$program" -- $SV "$@")
8080
if [ $? != 0 ] ; then die "Terminating..." >&2 ; exit 1 ; fi
8181
eval set -- "$args"
8282
sed="sed -r"

0 commit comments

Comments
 (0)