cast userscript: Fix error message

Avoid SC2140 shellcheck false-positive: https://github.com/koalaman/shellcheck/issues/2479

Also remove extra quoting
This commit is contained in:
Florian Bruhin 2022-03-31 11:41:30 +02:00
parent 08fa205560
commit f654c0fdfc
1 changed files with 2 additions and 2 deletions

View File

@ -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