mirror of
https://github.com/wahyd4/gvm.git
synced 2026-08-11 05:46:30 +10:00
13 lines
170 B
Plaintext
13 lines
170 B
Plaintext
display_error() {
|
|
if [ command -v tput >/dev/null 2>&1 ]; then
|
|
tput sgr0
|
|
tput setaf 1
|
|
echo "ERROR: $1" >&2
|
|
tput sgr0
|
|
else
|
|
echo "ERROR: $1" >&2
|
|
fi
|
|
exit 1
|
|
}
|
|
|