mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-07-13 08:43:00 -07:00
Cron mode should not exit with non-zero if up to date
If plex is up to date, cron mode should exit with 0.
This commit is contained in:
parent
b50e8c68f9
commit
02b3ecf726
1 changed files with 2 additions and 1 deletions
|
@ -372,8 +372,9 @@ fi
|
|||
if [[ $FILENAME == *$INSTALLED_VERSION* ]] && [ "${FORCE}" != "yes" ] && [ ! -z "${INSTALLED_VERSION}" ]; then
|
||||
if [ "${CRON}" = "no" ]; then
|
||||
echo "Your OS reports the latest version of Plex ($INSTALLED_VERSION) is already installed. Use -f to force download."
|
||||
fi
|
||||
exit 5
|
||||
fi
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if [ -f "${DOWNLOADDIR}/${FILENAME}" -a "${FORCE}" != "yes" ]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue