]> git.sur5r.net Git - openldap/commitdiff
fix error message
authorPierangelo Masarati <ando@openldap.org>
Thu, 11 Aug 2005 21:02:32 +0000 (21:02 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 11 Aug 2005 21:02:32 +0000 (21:02 +0000)
servers/slapd/slapcommon.c

index 2667e2e7dc67ec0476e536fe579a62856c68435b..18cc86ca9f731e341848a5c2fd50e780791acb87 100644 (file)
@@ -427,7 +427,8 @@ slap_tool_init(
        rc = read_config( conffile, confdir );
 
        if ( rc != 0 ) {
-               fprintf( stderr, "%s: bad configuration file!\n", progname );
+               fprintf( stderr, "%s: bad configuration %s!\n",
+                       progname, confdir ? "directory" : "file" );
                exit( EXIT_FAILURE );
        }