From 79a23985860126f59cf0c26f9d8ee98001c9f95c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 17 Feb 2021 19:16:04 +0300 Subject: Fix typo in Bash style guide --- doc/bash-style.cli | 4 ++-- 1 file 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 -- cgit v1.1