From 62ade94f0fd041701f3cf99287debb3552f61006 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Fr=C3=A9rot?= Date: Sat, 4 Jan 2025 14:52:59 +0100 Subject: [PATCH] fixed printf call in error and warning --- rtenets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtenets b/rtenets index d1df445..41c48bf 100755 --- a/rtenets +++ b/rtenets @@ -48,13 +48,13 @@ readonly MANDATORY_FILES=("README.md" # Print error and exit error() { - printf "${RED}error${NC}: %s\\n" "$@" 1>&2 + printf "${RED}error${NC}: %b\\n" "$@" 1>&2 exit 1 } # Print warning warning() { - printf "${ORANGE}warning${NC}: %s\\n" "$@" 1>&2 + printf "${ORANGE}warning${NC}: %b\\n" "$@" 1>&2 } # Print info