Remove tabs

This commit is contained in:
hellekin 2015-02-08 20:06:53 -03:00
parent 22f0705f21
commit 21415b157f

5
tomb
View File

@ -291,7 +291,7 @@ _is_encrypted_block() {
[[ $? -eq 0 ]] && s="--inverse"
sudo lsblk $s -o type -n $b 2>/dev/null \
| egrep -q '^crypt$'
| egrep -q '^crypt$'
return $?
}
@ -312,7 +312,6 @@ _ensure_safe_swap() {
[[ -z "$swaps" ]] && return 0 # No swap partition is active
_message "An active swap partition is detected..."
for s in $=swaps; do
{ _is_encrypted_block $s } && { r=2 } || { r=1; break }
done
@ -323,7 +322,7 @@ _ensure_safe_swap() {
_warning "This poses a security risk."
_warning "You can deactivate all swap partitions using the command:"
_warning " swapoff -a"
_warning "[#163] I may not detect plain swaps on an encrypted volume."
_warning "[#163] I may not detect plain swaps on an encrypted volume."
_warning "But if you want to proceed like this, use the -f (force) flag."
fi
return $r