Files
gvm/scripts/function/display_warning
2012-03-25 08:48:24 -05:00

12 lines
162 B
Plaintext

display_warning() {
if [ command -v tput >/dev/null 2>&1 ]; then
# YELLOW!
tput sgr0
tput setaf 3
echo "$1"
tput sgr0
else
echo "WARNING: $1"
fi
}