Remove tabs

This commit is contained in:
hellekin 2015-02-08 20:06:53 -03:00 committed by Jaromil
parent 8233278ce0
commit fe504e4a19

5
tomb
View File

@ -292,7 +292,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 $?
}
@ -313,7 +313,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
@ -324,7 +323,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