]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/bconfig.c
Fix prev commit, config_obsolete
[openldap] / servers / slapd / bconfig.c
index e62e27f4786deb16f3aa356d62024077484f0457..b3d3eb9d920842788c719e457529ffffaeb012f1 100644 (file)
@@ -2827,6 +2827,9 @@ config_updateref(ConfigArgs *c) {
 
 static int
 config_obsolete(ConfigArgs *c) {
+       if (c->op == SLAP_CONFIG_EMIT)
+               return 1;
+
        snprintf( c->msg, sizeof( c->msg ), "<%s> keyword is obsolete (ignored)",
                c->argv[0] );
        Debug(LDAP_DEBUG_ANY, "%s: %s\n", c->log, c->msg, 0);