mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-16 09:37:12 +00:00
Remove extra space and split message for accuracy (fixes #170)
This commit is contained in:
parent
7e9419542a
commit
f7ea486e13
3
tomb
3
tomb
@ -313,10 +313,11 @@ _ensure_safe_swap() {
|
||||
|
||||
fi
|
||||
done
|
||||
_warning "An active swap partition is detected, this poses security risks."
|
||||
_notice "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."
|
||||
|
Loading…
Reference in New Issue
Block a user