From 6d36dbb97a3826dfca7476e6b267ffbbcea1bfed Mon Sep 17 00:00:00 2001 From: farhan Date: Mon, 28 Feb 2022 15:24:09 +0000 Subject: [PATCH] little fix --- scripts/0-preinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/0-preinstall.sh b/scripts/0-preinstall.sh index 75c1c92..729c470 100755 --- a/scripts/0-preinstall.sh +++ b/scripts/0-preinstall.sh @@ -78,7 +78,7 @@ do_btrfs() { btrfs subvolume create "$MOUNTPOINT"/"${x}" >/dev/null 2>&1 done - umount /mnt + umount "$MOUNTPOINT" mount -o "$MOUNT_OPTIONS",subvol=@ "$2" "$MOUNTPOINT" for z in "${SUBVOLUMES[@]:1}"; do