confz

git mirror of https://ccx.te2000.cz/bzr/confz
git clone https://ccx.te2000.cz/git/confz
Log | Files | Refs

commit c78c04e4a707519280402f0b3997c4b9274e533b
parent ad05621bdccf5a4d7c7de67a4785c0226679f3e3
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Fri, 22 Feb 2019 05:19:27 +0100

order before device number comparison
Diffstat:
Mzsh-functions/confz_fs_init | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/zsh-functions/confz_fs_init b/zsh-functions/confz_fs_init @@ -399,7 +399,7 @@ confz_mdraid_check() { die "$0: raid level mismatch." \ "expected: ${(q)level} got: ${(q)seen_level}" - [[ ${(o)device_numbers} == ${(o)seen_devices} ]] || \ + [[ ${(j.:.)${(o)device_numbers}} == ${(j.:.)${(o)seen_devices}} ][] || \ die $0$': raid device mismatch\nexpected:' \ ${(oqqq)device_numbers}$'\ngot:' \ ${(oqqq)seen_devices}