fix color variables

This commit is contained in:
Denis Lehmann 2022-01-07 16:56:26 +01:00
parent 790bc6cf03
commit 613c526b5e
2 changed files with 4 additions and 4 deletions

6
sf
View file

@ -22,20 +22,20 @@ sftw=`echo -e "\e[97m"`
# Internal error function
function _sferr {
echo -e "${sftbf}${sftred}SF PARSE ERROR${sftrst} $1"
echo -e "${sftbf}${sftr}SF PARSE ERROR${sftrst} $1"
exit 1
}
# Public output functions
function sferr {
echo -e "${sftbf}${sftred}ERROR${sftrst} $1"
echo -e "${sftbf}${sftr}ERROR${sftrst} $1"
if [ -z "$2" ]; then
exit 1
fi
}
function sfwarn {
echo -e "${sftbf}${sftyellow}WARNING${sftrst} $1"
echo -e "${sftbf}${sfty}WARNING${sftrst} $1"
}
# Declare variables for parsing