commit 8c0e4fb50805a822c160f5d67d7a646537103748
parent 3ff87557bfec051aaa29c15802bab85483f06eef
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date: Wed, 13 Feb 2019 08:41:42 +0100
Fix error handling for mdadm --detail
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zsh-functions/confz_fs_init b/zsh-functions/confz_fs_init
@@ -380,7 +380,7 @@ confz_mdraid_check() {
ret=$?
case $ret in
(0) ;;
- # (1) return 1;;
+ (1) ;; # return 1;;
(*) die "$0: mdadm --detail ${(qqq)vars[md_device]} returned $ret";;
esac
seen_header=0