diff --git a/Misc/Arch-LuksCrpy-Install.bash b/Misc/Arch-LuksCrpy-Install.bash index 6faf75b..84409f5 100755 --- a/Misc/Arch-LuksCrpy-Install.bash +++ b/Misc/Arch-LuksCrpy-Install.bash @@ -260,7 +260,7 @@ install() { echo w) | gdisk "${install_path}" log "info" "Wrote partitions" log "info" "Encrypting $(important "${install_disk}"), if you are prompted type $(important "YES")" - cryptsetup -y -v luksFormat "${install_path}" + cryptsetup -y -v luksFormat "${install_path}" || exit log "info" "Requesting opening of $(important "${install_disk}")" cryptsetup open "${install_path}" cryptroot log "info" "Creating file systems..."