diff --git a/bootstrap.sh b/bootstrap.sh index 70b243b..a6400f1 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -37,9 +37,11 @@ init() { } crypt_prepare_disk() { + set +e cryptsetup open --type plain -d /dev/urandom $1 wipe_me dd if=/dev/zero of=/dev/mapper/wipe_me bs=1M status=progress cryptsetup close wipe_me + set -e } crypt_create_fs() {