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