diff --git a/bin/headlessvnc b/bin/headlessvnc index c5f1381..7c0b00e 100755 --- a/bin/headlessvnc +++ b/bin/headlessvnc @@ -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