From 2da99b2efb38f4eb18dec804eee00407f61cb13b Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 2 Feb 2018 10:54:00 +0100 Subject: [PATCH] Add warn function Signed-off-by: Knut Ahlers --- bin/script_framework.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bin/script_framework.sh b/bin/script_framework.sh index 07524e6..671b859 100644 --- a/bin/script_framework.sh +++ b/bin/script_framework.sh @@ -1,6 +1,7 @@ COLOR_RED="\033[0;31m" COLOR_GREEN="\033[0;32m" COLOR_CYAN="\033[0;36m" +COLOR_YELLOW="\033[0;33m" COLOR_PLAIN="\033[0m" function error { @@ -23,3 +24,7 @@ function step { function success { echo -e "${COLOR_GREEN}$@${COLOR_PLAIN}" } + +function warn { + echo -e "${COLOR_YELLOW}$@${COLOR_PLAIN}" +}