]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-shell/config.c
Fix last commit: C90 rejects declaration after code
[openldap] / servers / slapd / back-shell / config.c
index ed1fc82fada83ac125994eae86cfe482ffcaf643..6a4f191088862931d0dc41421400a0988711013c 100644 (file)
@@ -2,7 +2,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2003 The OpenLDAP Foundation.
+ * Copyright 1998-2009 The OpenLDAP Foundation.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -137,9 +137,7 @@ shell_back_db_config(
 
        /* anything else */
        } else {
-               fprintf( stderr,
-"%s: line %d: unknown directive \"%s\" in shell database definition (ignored)\n",
-                   fname, lineno, argv[0] );
+               return SLAP_CONF_UNKNOWN;
        }
 
        return 0;