From bd1358fb07ee442810cddf65989f2c61f6dac9cd Mon Sep 17 00:00:00 2001 From: muhme Date: Wed, 13 Nov 2024 06:57:38 +0100 Subject: [PATCH] Fix shellcheck finding --- VERSION | 2 +- scripts/helper.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index e235558..79a82f0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.0.31 +2.0.32 diff --git a/scripts/helper.sh b/scripts/helper.sh index b35ddbd..31ac353 100755 --- a/scripts/helper.sh +++ b/scripts/helper.sh @@ -564,9 +564,9 @@ function random_quote() { if [ "${quote}" != "" ]; then # Print the author only if it's not "Unknown" with authorID 0 if [ "$authorID" != "0" ]; then - printf "\\n \"${quote}\", ${author}\\n \\n" + printf "\\n \"%s\", %s\\n \\n" "${quote}" "${author}" else - printf "\\n \"${quote}\"\\n \\n" + printf "\\n \"%s\"\\n \\n" "${quote}" fi fi }