9 lines
138 B
Bash
9 lines
138 B
Bash
|
error(){
|
||
|
local txtred=$(tput setaf 1) # Red
|
||
|
local txtwht=$(tput setaf 7) # White
|
||
|
local msg=$*
|
||
|
echo "$txtred $msg $txtwht"
|
||
|
}
|
||
|
|
||
|
error $1
|