mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 13:23:21 -07:00
Match wget errors
This commit is contained in:
parent
132639deb5
commit
146827b737
1 changed files with 1 additions and 1 deletions
|
@ -351,7 +351,7 @@ fi
|
||||||
if [ "${LISTOPTS}" = "yes" ]; then
|
if [ "${LISTOPTS}" = "yes" ]; then
|
||||||
wgetresults="$(wget "${URL_DOWNLOAD}" -o "${FILE_WGETLOG}" -O -)"
|
wgetresults="$(wget "${URL_DOWNLOAD}" -o "${FILE_WGETLOG}" -O -)"
|
||||||
if [ $? -ne 0 ]; then
|
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}"
|
[ "$VERBOSE" = "yes" ] && cat "${FILE_WGETLOG}"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue