confz

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

commit ca3781a17bfa2137f2f932762f43b1ea4ff506e1
parent 57cfcd78018d5a7fd6fc01a80ab74b2c18160111
Author: Jan Pobrislo <ccx@webprojekty.cz>
Date:   Wed, 13 Feb 2019 10:55:10 +0100

Fix variable reference
Diffstat:
Mzsh-functions/confz_fs_init | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/zsh-functions/confz_fs_init b/zsh-functions/confz_fs_init @@ -683,8 +683,8 @@ confz_mounted_volume_check() { defvar label ${${vars[lv_name]}[1,12]} defvar root / - [[ $mountpoint == /* ]] || \\ - die "$0: mountpoint must be absolute path, got: ${(qqq)mountpoint}" + [[ $vars[mountpoint] == /* ]] || \\ + die "$0: mountpoint must be absolute path, got: ${(qqq)vars[mountpoint]}" require logical_volume %device \?vg_name :size :lv_name require filesystem :device :label :filesystem \?mkfs_opts require fstab fstab=${vars[root]%/}/etc/fstab \