Files
gvm/scripts/function/display_warning
T

14 lines
170 B
Plaintext

display_warning() {
which tput &> /dev/null
if [[ "$?" == "0" ]]; then
# YELLOW!
tput sgr0
tput setaf 3
echo "$1"
tput sgr0
else
echo "$1"
fi
return 1
}