From f654c0fdfc21ebf7fc8f601a6800314bb570f226 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Thu, 31 Mar 2022 11:41:30 +0200 Subject: [PATCH] cast userscript: Fix error message Avoid SC2140 shellcheck false-positive: https://github.com/koalaman/shellcheck/issues/2479 Also remove extra quoting --- misc/userscripts/cast | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/userscripts/cast b/misc/userscripts/cast index 609a7d0db..ec703d5fb 100755 --- a/misc/userscripts/cast +++ b/misc/userscripts/cast @@ -154,8 +154,8 @@ if [[ "${cast_program}" == "" ]]; then exit 1 fi if [[ "${ytdl_program}" == "" ]]; then - msg error "youtube-dl or a drop-in replacement can't be found in PATH, and no installed program "\ -"specified in QUTE_CAST_YTDL_PROGRAM (currently \\\"$QUTE_CAST_YTDL_PROGRAM\\\")" + msg error "youtube-dl or a drop-in replacement can't be found in PATH, and no installed program " \ + "specified in QUTE_CAST_YTDL_PROGRAM (currently \"$QUTE_CAST_YTDL_PROGRAM\")" exit 1 fi