[enh] slaptest outputs on stderr, so generates a WARNING. make it quiet

This commit is contained in:
Julien Malik 2016-03-08 15:22:44 +01:00
parent 16ba0b9831
commit a072d4109e

View file

@ -49,7 +49,7 @@ sudo chown -R openldap:openldap /etc/ldap/schema/
sudo chown -R openldap:openldap /etc/ldap/slapd.d/ sudo chown -R openldap:openldap /etc/ldap/slapd.d/
# Check the slapd config file at first # Check the slapd config file at first
sudo slaptest -u -f /etc/ldap/slapd.conf sudo slaptest -Q -u -f /etc/ldap/slapd.conf
if [[ $BACKEND_CHANGE -eq 1 ]]; then if [[ $BACKEND_CHANGE -eq 1 ]]; then
# Regenerate LDAP config directory and import database as root # Regenerate LDAP config directory and import database as root