From f4e8b35f92196cee79c1bf66e165b7e5fc4a3e5a Mon Sep 17 00:00:00 2001 From: Christoph Date: Sun, 28 Jun 2020 11:41:11 +0200 Subject: [PATCH] base_script.sh: some minor changes in script output. --- snippets/base_script.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/snippets/base_script.sh b/snippets/base_script.sh index 354c61e..73bdfc8 100755 --- a/snippets/base_script.sh +++ b/snippets/base_script.sh @@ -151,6 +151,11 @@ echo_ok() { echo -e "\033[75G[ \033[32mok\033[m ]" fi } +echo_warn() { + if $terminal ; then + echo -e "\033[75G[ \033[33mwarn\033[m ]" + fi +} echo_failed(){ if $terminal ; then echo -e "\033[75G[ \033[1;31mfailed\033[m ]" @@ -158,7 +163,7 @@ echo_failed(){ } echo_skipped() { if $terminal ; then - echo -e "\033[75G[ \033[33m\033[1mskipped\033[m ]" + echo -e "\033[75G[ \033[37m\033[1mskipped\033[m ]" fi } echo_wait(){