Fixed an issue with error reporting of bad script switches for docker/updatedb.
- Legacy-Id: 17681
This commit is contained in:
parent
20c1bd532f
commit
2e1e2b7ad1
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue