Files
gvm/scripts/function/display_error
T
Joshua Bussdieker 54df5d9ccd display_error no longer exits so it's safe to use when running
in the source environment. Also catch tool errors in the gvm script
and function.
2012-03-27 22:48:02 -07:00

9 lines
89 B
Plaintext

display_error() {
tput sgr0
tput setaf 1
echo "ERROR: $1" >&2
tput sgr0
return 1
}