mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2025-04-06 01:31:50 +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
|
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."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user