From 3e3dbab54709a6df79dae90164cbb8a56cf7dca9 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Thu, 23 Oct 2025 00:46:41 -0600 Subject: [PATCH] 1761202001 --- nuke_me_NOW.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuke_me_NOW.sh b/nuke_me_NOW.sh index 7451bfc..2dc17fa 100644 --- a/nuke_me_NOW.sh +++ b/nuke_me_NOW.sh @@ -12,7 +12,7 @@ fi lsblk --list | awk '{printf "%s%s\n", "/dev/",$1}' | tail -n +2 | \ while read device; do - if [ $(cryptsetup isLuks cryptsetup $device) -eq 0 ]; then + 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 # immediate halt power