diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-02-17 19:16:04 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-02-17 19:16:04 +0300 |
commit | 79a23985860126f59cf0c26f9d8ee98001c9f95c (patch) | |
tree | c0590257d26d72c682d0665b58610e4082926d04 | |
parent | 967c57e25be857dbe10e24ef1e39a442af9baad7 (diff) |
Fix typo in Bash style guide
-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 |