From 3a64cd71191c93cef2e8b8f5070db72e811fcba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Poulain?= Date: Mon, 18 Jan 2021 14:57:42 +0100 Subject: [PATCH] Sort un code de retour non null en cas de version disponible --- monitoring/check_benevalibrechaprilorg_update | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/monitoring/check_benevalibrechaprilorg_update b/monitoring/check_benevalibrechaprilorg_update index bf4a227..bb3363a 100755 --- a/monitoring/check_benevalibrechaprilorg_update +++ b/monitoring/check_benevalibrechaprilorg_update @@ -3,10 +3,10 @@ # Nagios plugin to check benevalibre version # # Author : François Poulain -# Date : 12 Nov 2020 +# Date : 18 Jan 2021 # set -e 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 $?