Show lastest version number in Nagios mode

This commit is contained in:
Benjamin Renard 2021-10-19 13:40:44 +02:00 committed by root
parent 6d9a8089e7
commit fc09ca0e3b

View file

@ -363,5 +363,5 @@ then
fi
else
[ $DEBUG -eq 1 ] && echo "Pas de changement de version"
[ $NAGIOS -eq 1 ] && echo "OK : Lastest version installed" && exit 0
[ $NAGIOS -eq 1 ] && echo "OK : Lastest version installed ($current)" && exit 0
fi