From 7711a4c7bf91ac776aa6efe1abf309bdbf87eb08 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 25 Nov 2021 17:02:44 -0600 Subject: [PATCH] Remove exit condition because dd will always error in this case --- Misc/Arch-LuksCrpy-Install.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/Arch-LuksCrpy-Install.bash b/Misc/Arch-LuksCrpy-Install.bash index 0e531f3..110e960 100755 --- a/Misc/Arch-LuksCrpy-Install.bash +++ b/Misc/Arch-LuksCrpy-Install.bash @@ -244,7 +244,7 @@ install() { log "info" "Wiped partitions on $(important "${install_disk}")" log "info" "Securely erasing remaining data on $(important "${install_disk}")" echo YES | cryptsetup open --type plain -d /dev/urandom "${install_path}" to_be_wiped > /dev/null || exit - dd bs=1M if=/dev/zero of=/dev/mapper/to_be_wiped status=progress || exit + dd bs=1M if=/dev/zero of=/dev/mapper/to_be_wiped status=progress cryptsetup close to_be_wiped || exit log "info" "Writing new partitions to $(important "${install_disk}")" (echo n