Fix return code in OK case of Nagios mode

This commit is contained in:
Benjamin Renard 2014-12-31 10:59:43 +01:00
parent 2cd69bf2ea
commit 029aec7b9e

View file

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