commit 211851752ed701cb05fad2cdccff093f98db04e5 parent 4ec0e9dee4c46153d4fce2d8d7f4a2e959ba9034 Author: Jan Pobrislo <ccx@webprojekty.cz> Date: Mon, 20 Apr 2015 14:21:22 +0200 fix condition Diffstat:
| M | zsh-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 @@ -250,7 +250,7 @@ confz_volume_group_check() { die "$0: lvm pvs command returned error" do_command=( lvm vgextend ${vars[vg_name]} ) for device in $vg_devices; do - [[ $+devices[$device] && $devices[$device] == $vars[vg_name] ]] || \ + [[ $+devices[$device] == 1 && $devices[$device] == $vars[vg_name] ]] || \ do_command+=( $device ) done (( $#do_command == 3 ))