From ca65809db7ede54f3ccd3261d857b5b89886fd54 Mon Sep 17 00:00:00 2001 From: HonusBot Date: Sat, 15 May 2021 23:45:12 +0200 Subject: [PATCH] Bugfix --- honusbot-cli.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/honusbot-cli.sh b/honusbot-cli.sh index aa92a8c..a059fb6 100755 --- a/honusbot-cli.sh +++ b/honusbot-cli.sh @@ -26,7 +26,7 @@ elif [ -x "$(command -v feh)" ]; then download_url_to_stdin=false fi -if [ download_url_to_stdin ]; then +if [ "$download_url_to_stdin" = true ]; then echo "Must download url content" picture_download_command="xargs --max-args=1 --no-run-if-empty curl -s --location" fi