diff options
Diffstat (limited to 'doc/bash-style.cli')
-rw-r--r-- | doc/bash-style.cli | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/bash-style.cli b/doc/bash-style.cli index b07ffc1..8de01da 100644 --- a/doc/bash-style.cli +++ b/doc/bash-style.cli @@ -670,13 +670,13 @@ function func() } set +o pipefail -func | readarray -t r +func | readarray -t ro r=\"${PIPESTATUS[0]}\" set -o pipefail case \"$r\" in 0) - echo \"${r[0]}\" + echo \"${ro[0]}\" ;; 1) exit 1 |