Add warn function

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-02-02 10:54:00 +01:00
parent 4aa57f98c7
commit 2da99b2efb
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -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}"
}