Fix exit code on errors detected
This commit is contained in:
parent
2acd8c085f
commit
7f98688245
1 changed files with 1 additions and 0 deletions
|
@ -84,4 +84,5 @@ else
|
||||||
count=$( echo -e "$ERRORS"|wc -l )
|
count=$( echo -e "$ERRORS"|wc -l )
|
||||||
echo "WARNING - $count error(s) detected in slapd schema"
|
echo "WARNING - $count error(s) detected in slapd schema"
|
||||||
echo -e "$ERRORS"
|
echo -e "$ERRORS"
|
||||||
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue