From f2b3e3cab2551320e3bf324b7e498bf5a39b5608 Mon Sep 17 00:00:00 2001 From: git Date: Tue, 11 Jun 2024 14:17:39 +0200 Subject: [PATCH] Destroy script fix --- artix_scripts/destroy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artix_scripts/destroy.sh b/artix_scripts/destroy.sh index ab6fdc8..a35bb17 100755 --- a/artix_scripts/destroy.sh +++ b/artix_scripts/destroy.sh @@ -6,6 +6,6 @@ umount -R /mnt/ cryptsetup close $CRYPT_N lvchange -an $LVM_N/volRoot lvchange -an $LVM_N/volHome -swapoff $LVM_N/volSwap +swapoff /dev/$LVM_N/volSwap lvchange -an $LVM_N/volSwap wipefs -a $DISK \ No newline at end of file