From 8233278ce04a34237ce481e3c2dde6dc57247b51 Mon Sep 17 00:00:00 2001 From: hellekin Date: Sun, 8 Feb 2015 20:01:01 -0300 Subject: [PATCH] Remove leftover and notify #163 :) --- tomb | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/tomb b/tomb index de504db..408c6a1 100755 --- a/tomb +++ b/tomb @@ -314,12 +314,9 @@ _ensure_safe_swap() { _message "An active swap partition is detected..." - if [[ $? -eq 0 ]]; then - for s in $=swaps; do - { _is_encrypted_block $s } \ - && { r=2 } || { r=1; break } - done - fi + for s in $=swaps; do + { _is_encrypted_block $s } && { r=2 } || { r=1; break } + done if [[ $r -eq 2 ]]; then _success "All your swaps are belong to crypt. Good."