remove debugging output for PIPESTATUS

This commit is contained in:
Philip Henning 2023-12-15 15:41:57 +01:00
parent 7326ec30fb
commit afbf0e98a8

View file

@ -224,7 +224,6 @@ LONGOPTS=passbase:,file:,help,identity:,key:,output:,path:
# -activate quoting/enhanced mode (e.g. by writing out “--options”) # -activate quoting/enhanced mode (e.g. by writing out “--options”)
# -pass arguments only via -- "$@" to separate them correctly # -pass arguments only via -- "$@" to separate them correctly
! PARSED=$(getopt --options=${OPTIONS} --longoptions=${LONGOPTS} --name "$(basename ${0})" -- "${@}") ! PARSED=$(getopt --options=${OPTIONS} --longoptions=${LONGOPTS} --name "$(basename ${0})" -- "${@}")
echo "${PIPESTATUS[0]}"
if [[ ${PIPESTATUS[0]} -ne 0 ]]; then if [[ ${PIPESTATUS[0]} -ne 0 ]]; then
# e.g. return value is 1 # e.g. return value is 1
# then getopt has complained about wrong arguments to stdout # then getopt has complained about wrong arguments to stdout