Some minor changes on script output.

This commit is contained in:
Christoph 2020-11-26 18:18:36 +01:00
parent 98a0a1ddeb
commit 02427ecee7

View File

@ -107,13 +107,11 @@ error(){
} }
warn (){ warn (){
blank_line
if $terminal ; then if $terminal ; then
echo ""
echo -e " [ \033[33m\033[1mWarning\033[m ]: $*" echo -e " [ \033[33m\033[1mWarning\033[m ]: $*"
else echo ""
echo "Warning: $*"
fi fi
blank_line
} }
info (){ info (){
@ -309,7 +307,7 @@ blank_line
if [[ -z "$found_sigs" ]]; then if [[ -z "$found_sigs" ]]; then
if $terminal ; then if $terminal ; then
echononl "\033[33mNo quarantined e-mails with \033[1mMBL_\033[signatures found.\033[m\n" echononl "\033[33mNo quarantined e-mails with \033[1mMBL_*\033[ signatures found.\033[m\n"
fi fi
else else
declare -a google_sig_arr=() declare -a google_sig_arr=()