Fix exit code on errors detected

This commit is contained in:
Benjamin Renard 2019-06-12 13:30:59 +02:00 committed by root
parent 2acd8c085f
commit 7f98688245

View file

@ -84,4 +84,5 @@ else
count=$( echo -e "$ERRORS"|wc -l )
echo "WARNING - $count error(s) detected in slapd schema"
echo -e "$ERRORS"
exit 1
fi