=== modified file 'zsh-functions/confz_fs_init' --- zsh-functions/confz_fs_init 2019-02-13 07:17:48 +0000 +++ zsh-functions/confz_fs_init 2018-10-19 18:06:04 +0000 @@ -337,7 +337,7 @@ # set up /dev/md* device confz_mdraid_check() { - local line level out seen_level seen_header devices all_empty ret + local line level out seen_level seen_header devices all_empty local -a seen_devices devices device_numbers local -A level_map @@ -376,13 +376,8 @@ done if [[ -b $vars[md_device] ]]; then - out=$( mdadm --detail $vars[md_device] ) - ret=$? - case ret in - (0) ;; - # (1) return 1;; - (*) die "$0: mdadm --detail ${(qqq)vars[md_device]} returned $?";; - esac + out=$( mdadm --detail $vars[md_device] ) || \ + die "$0: mdadm --detail ${(qqq)vars[md_device]} returned $?" seen_header=0 while read line; do if ! (($seen_header)); then