summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhellekin <hellekin@dyne.org>2015-02-08 23:06:53 (GMT)
committer hellekin <hellekin@dyne.org>2015-02-08 23:06:53 (GMT)
commit21415b157f9188bd5cc980e90c7d64768399c072 (patch)
treea78ab355255eeb0ab201961703681218e394cd34
parent22f0705f21ac9bb3184f3b09ac6619f0015b3cdb (diff)
Remove tabsfix-163
-rwxr-xr-xtomb5
1 files changed, 2 insertions, 3 deletions
diff --git a/tomb b/tomb
index 6f67653..b4e53bf 100755
--- a/tomb
+++ b/tomb
@@ -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