From f7ea486e139ab96c1d6d47aad9492ccba63e9ac6 Mon Sep 17 00:00:00 2001 From: hellekin Date: Thu, 27 Nov 2014 12:44:38 -0300 Subject: [PATCH 1/3] Remove extra space and split message for accuracy (fixes #170) --- tomb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tomb b/tomb index 9d90b42..fd4300b 100755 --- a/tomb +++ b/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." From 29040b2d7fa7b856dff6eabd038a0ee1bbe7b5b6 Mon Sep 17 00:00:00 2001 From: hellekin Date: Thu, 27 Nov 2014 13:01:35 -0300 Subject: [PATCH 2/3] Replace tab with spaces --- tomb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tomb b/tomb index fd4300b..c4f083f 100755 --- a/tomb +++ b/tomb @@ -317,7 +317,7 @@ _ensure_safe_swap() { if [[ $r -eq 2 ]]; then _success "All your swaps are belong to crypt. Good." else - _warning "This poses a security risk." + _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." From b0c63ebf12002299d97e4e6d92757f0c987b70d2 Mon Sep 17 00:00:00 2001 From: hellekin Date: Thu, 27 Nov 2014 13:40:58 -0300 Subject: [PATCH 3/3] lapsus: not _notice, but _message --- tomb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tomb b/tomb index c4f083f..1c1b16b 100755 --- a/tomb +++ b/tomb @@ -313,7 +313,7 @@ _ensure_safe_swap() { fi done - _notice "An active swap partition is detected..." + _message "An active swap partition is detected..." if [[ $r -eq 2 ]]; then _success "All your swaps are belong to crypt. Good." else