ArchSetupScripts/error.sh

9 lines
138 B
Bash
Raw Normal View History

2024-11-10 13:58:16 +00:00
error(){
local txtred=$(tput setaf 1) # Red
local txtwht=$(tput setaf 7) # White
local msg=$*
echo "$txtred $msg $txtwht"
}
error $1