=== modified file 'zsh-functions/confz_fs_init' --- zsh-functions/confz_fs_init 2015-04-20 12:21:22 +0000 +++ zsh-functions/confz_fs_init 2015-04-20 12:12:40 +0000 @@ -250,7 +250,7 @@ die "$0: lvm pvs command returned error" do_command=( lvm vgextend ${vars[vg_name]} ) for device in $vg_devices; do - [[ $+devices[$device] == 1 && $devices[$device] == $vars[vg_name] ]] || \ + [[ $+devices[$device] && $devices[$device] == $vars[vg_name] ]] || \ do_command+=( $device ) done (( $#do_command == 3 ))