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