From 146827b737342d6fe581336ded3c91f0f05323a9 Mon Sep 17 00:00:00 2001 From: Alex Malinovich Date: Wed, 19 Jul 2017 16:19:44 +0200 Subject: [PATCH] Match wget errors --- plexupdate.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plexupdate.sh b/plexupdate.sh index fd6e72b..f045208 100755 --- a/plexupdate.sh +++ b/plexupdate.sh @@ -351,7 +351,7 @@ fi if [ "${LISTOPTS}" = "yes" ]; then wgetresults="$(wget "${URL_DOWNLOAD}" -o "${FILE_WGETLOG}" -O -)" if [ $? -ne 0 ]; then - error "Unable to retrieve available builds" + error "Unable to retrieve available builds due to a wget error, run with -v for details" [ "$VERBOSE" = "yes" ] && cat "${FILE_WGETLOG}" exit 1 fi