=== modified file 'zsh-functions/confz_fs_init' --- zsh-functions/confz_fs_init 2014-06-25 09:05:17 +0000 +++ zsh-functions/confz_fs_init 2014-06-19 19:03:09 +0000 @@ -7,11 +7,11 @@ # configure LVM2 logical volume confz_logical_volume_check() { - defvar vg_name ${DEFAULT_VG:-} + defvar vg_name $DEFAULT_VG [[ -n ${vars[vg_name]} ]] || \ die "$0: DEFAULT_VG is unset and no 'vg_name' was passed" - defvar size ${DEFAULT_VOLUME_SIZE:-} + defvar size $DEFAULT_VOLUME_SIZE [[ -n ${vars[size]} ]] || \ die "$0: DEFAULT_VOLUME_SIZE is unset and no 'size' was passed" @@ -33,7 +33,7 @@ # create filesystem on block device confz_filesystem_check() { - defvar filesystem ${DEFAULT_FS:-} + defvar filesystem $DEFAULT_FS [[ -n ${vars[filesystem]} ]] || \ die "$0: DEFAULT_FS is unset and no 'filesystem' was passed"