forked from ahurac/dotfiles
Correction : utilisation des {} dans headlessvnc
This commit is contained in:
parent
01bb9339b1
commit
e23d3f951f
1 changed files with 1 additions and 4 deletions
|
@ -13,10 +13,7 @@ echobf() {
|
||||||
|
|
||||||
# Print an error message
|
# Print an error message
|
||||||
print_error() {
|
print_error() {
|
||||||
>&2 (
|
>&2 { printf '\033[1;31m%s\033[0m ' "ERROR:"; echobf "$*" }
|
||||||
printf '\033[1;31m%s\033[0m ' "ERROR:"
|
|
||||||
echobf "$*"
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Print an error and exit
|
# Print an error and exit
|
||||||
|
|
Loading…
Reference in a new issue