Merge pull request #172 from dyne/fix-170

Remove extra space and split message for accuracy (closes #170)
This commit is contained in:
hellekin 2014-11-27 13:47:15 -03:00
commit f2b9c51ccf

3
tomb
View File

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