committed by
GitHub
parent
f1e854a1c0
commit
9c913ee847
6
script/lib.sh
Normal file
6
script/lib.sh
Normal file
@@ -0,0 +1,6 @@
|
||||
# Print an error message to the terminal.
|
||||
print_error() {
|
||||
local red='\033[0;31m'
|
||||
local nocolor='\033[0m'
|
||||
printf "${red}error${nocolor}\t$1\n"
|
||||
}
|
||||
Reference in New Issue
Block a user