From e23d3f951fc9d8e83337703e5090d6ee8faf4ded Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Sun, 11 Jun 2023 13:02:34 +0200 Subject: [PATCH] Correction : utilisation des {} dans headlessvnc --- bin/headlessvnc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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