mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-12-23 10:38:59 +00:00
Remove leftover and notify #163 :)
This commit is contained in:
parent
02dead6c9d
commit
22f0705f21
9
tomb
9
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."
|
||||
|
Loading…
Reference in New Issue
Block a user