Fixed an issue with error reporting of bad script switches for docker/updatedb.

- Legacy-Id: 17681
This commit is contained in:
Henrik Levkowetz 2020-04-23 18:53:07 +00:00
parent 20c1bd532f
commit 2e1e2b7ad1

View file

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