Sort un code de retour non null en cas de version disponible
This commit is contained in:
parent
affb332493
commit
3a64cd7119
@ -3,10 +3,10 @@
|
|||||||
# Nagios plugin to check benevalibre version
|
# Nagios plugin to check benevalibre version
|
||||||
#
|
#
|
||||||
# Author : François Poulain <fpoulain@metrodore.fr>
|
# Author : François Poulain <fpoulain@metrodore.fr>
|
||||||
# Date : 12 Nov 2020
|
# Date : 18 Jan 2021
|
||||||
#
|
#
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
cd /var/www/benevalibre.chapril.org/benevalibre
|
cd /var/www/benevalibre.chapril.org/benevalibre
|
||||||
sudo /var/www/benevalibre.chapril.org/benevalibre/venv/bin/python manage.py check_update
|
sudo /var/www/benevalibre.chapril.org/benevalibre/venv/bin/python manage.py check_update --warn
|
||||||
exit $?
|
exit $?
|
||||||
|
Loading…
Reference in New Issue
Block a user