Remove leftover and notify #163 :)

This commit is contained in:
hellekin 2015-02-08 20:01:01 -03:00
parent 02dead6c9d
commit 22f0705f21

9
tomb
View File

@ -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."