diff --git a/nuke_me_NOW.sh b/nuke_me_NOW.sh index 6d43933..64a6204 100644 --- a/nuke_me_NOW.sh +++ b/nuke_me_NOW.sh @@ -14,6 +14,7 @@ fi lsblk --list | awk '{printf "%s%s\n", "/dev/",$1}' | tail -n +2 | \ while read device; do echo $device + cryptsetup isLuks cryptsetup $device if [[ $(cryptsetup isLuks cryptsetup $device) == 0 ]]; then # nuke the luks headers nice -20 cryptsetup erase -q $device 1>>$output_log 2>>$error_log || cryptsetup erase -q --disable-lock $device 1>>$output_log 2>>$error_log