Fix return code in OK case of Nagios mode
This commit is contained in:
parent
2cd69bf2ea
commit
029aec7b9e
1 changed files with 1 additions and 1 deletions
|
@ -313,5 +313,5 @@ then
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
[ $DEBUG -eq 1 ] && echo "Pas de changement de version"
|
[ $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
|
fi
|
||||||
|
|
Loading…
Reference in a new issue