Fix return code in OK case of Nagios mode
Benjamin Renard

Benjamin Renard commited on 2014-12-31 09:59:43
Showing 1 changed files, with 1 additions and 1 deletions.

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