diff --git a/common.sh b/common.sh index e613df58eb..07b5cbb706 100644 --- a/common.sh +++ b/common.sh @@ -224,3 +224,14 @@ is_whitelisted() { || /bin/true) test $count -ne 0 } + +V_RED="\e[31m" +V_YELLOW="\e[33m" + +function warn { + echo -e "${V_YELLOW}Warning..: $1${V_VIDOFF}" +} + +function error { + echo -e "${V_RED}Error....: $1${V_VIDOFF}" +}