From 15bb82501cd7fcd9aef99d7e7005ce92c5c7c854 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Mon, 21 Feb 2022 01:51:15 +0000 Subject: [PATCH] Update web_get() errors with the downloader used --- quickget | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/quickget b/quickget index f930b4c..ca24020 100755 --- a/quickget +++ b/quickget @@ -553,13 +553,13 @@ function web_get() { if command -v aria2c > /dev/null; then if ! aria2c -x16 --continue=true --summary-interval=0 --download-result=hide --console-log-level=error "${URL}" -o "${DIR}/${FILE}"; then echo #Necessary as aria2c in suppressed mode does not have new lines - echo "ERROR! Failed to download ${URL}. Try running 'quickget' again." + echo "ERROR! Failed to download ${URL} with aria2c. Try running 'quickget' again." exit 1 fi echo #Necessary as aria2c in suppressed mode does not have new lines else if ! wget --quiet --continue --show-progress --progress=bar:force:noscroll "${URL}" -O "${DIR}/${FILE}"; then - echo "ERROR! Failed to download ${URL}. Try running 'quickget' again." + echo "ERROR! Failed to download ${URL} with wget. Try running 'quickget' again." exit 1 fi fi