confz

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

commit b561858768558a21c91595201e992ee0f3d7c66b
parent b454ac313d5dc241c36984f1fbba9406bf828675
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Mon, 20 Apr 2015 15:11:49 +0200

fix 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 @@ -202,7 +202,7 @@ confz_mdraid_check() { for device in $devices; do fs_blkid_probe $device (( $+present )) || present=$fs_blkid_result - (( $present != $fs_blkid_result )) || \ + [[ $present != $fs_blkid_result ]] || \ die "$0: only some devices present" if ! (($fs_blkid_result)); then [[ ${fs_blkid_output[TYPE]:-} == linux_raid_member ]] || \