From b7cc3bf6765446155a5c156865a248b45d3d3ec0 Mon Sep 17 00:00:00 2001 From: "Sergey \"Shnatsel\" Davidoff" Date: Tue, 29 Nov 2016 19:17:34 +0300 Subject: [PATCH] And now fix it for good --- furaffinity-dl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/furaffinity-dl b/furaffinity-dl index 0f47a2f..4fbeea7 100755 --- a/furaffinity-dl +++ b/furaffinity-dl @@ -46,7 +46,7 @@ page_counter=1 # Iterate over the gallery pages with thumbnails and links to artwork view pages while true; do fwget -O "$tempfile" "$url" - if [ "$COOKIES_FILE" != "" ] grep -q 'furaffinity.net/login/' "$tempfile"; then + if [ "$COOKIES_FILE" != "" ] && grep -q 'furaffinity.net/login/' "$tempfile"; then echo "-------------- ERROR: You have provided a cookies file, but it does not contain valid cookies.