From 22f0705f21ac9bb3184f3b09ac6619f0015b3cdb 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 6043fc8..6f67653 100755 --- a/tomb +++ b/tomb @@ -313,12 +313,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."