Remove extra space and split message for accuracy (fixes #170)

This commit is contained in:
hellekin 2014-11-27 12:44:38 -03:00
parent 7e9419542a
commit f7ea486e13

3
tomb
View File

@ -313,10 +313,11 @@ _ensure_safe_swap() {
fi fi
done done
_warning "An active swap partition is detected, this poses security risks." _notice "An active swap partition is detected..."
if [[ $r -eq 2 ]]; then if [[ $r -eq 2 ]]; then
_success "All your swaps are belong to crypt. Good." _success "All your swaps are belong to crypt. Good."
else else
_warning "This poses a security risk."
_warning "You can deactivate all swap partitions using the command:" _warning "You can deactivate all swap partitions using the command:"
_warning " swapoff -a" _warning " swapoff -a"
_warning "But if you want to proceed like this, use the -f (force) flag." _warning "But if you want to proceed like this, use the -f (force) flag."