Correction : utilisation des {} dans headlessvnc

This commit is contained in:
Hippolyte Chauvin 2023-06-11 13:02:34 +02:00
parent 01bb9339b1
commit e23d3f951f

View file

@ -13,10 +13,7 @@ echobf() {
# Print an error message
print_error() {
>&2 (
printf '\033[1;31m%s\033[0m ' "ERROR:"
echobf "$*"
)
>&2 { printf '\033[1;31m%s\033[0m ' "ERROR:"; echobf "$*" }
}
# Print an error and exit