mirror of
https://github.com/shokinn/.files.git
synced 2025-01-18 21:22:25 +00:00
remove debugging output for PIPESTATUS
This commit is contained in:
parent
7326ec30fb
commit
afbf0e98a8
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue