Commit 9e667dee authored by Kevin Daudt's avatar Kevin Daudt 💻

pipestatus: handle potentially unset PIPESTATUS_VERBOSE

With `set -u`, the shell will return an error. Use `${-}` to provide an
empty default value.
parent 1119dcea
Pipeline #73713 passed with stages
in 59 seconds
......@@ -19,7 +19,7 @@ __shquote (){
__pipestatus_err_msg (){
if test "$PIPESTATUS_VERBOSE"; then
if test "${PIPESTATUS_VERBOSE-}"; then
echo "Pipe failed, pipestatus_all='$pipestatus_all'" 1>&2
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment