From b6674a90b042a2bb7610e8c7d88e9750c553b909 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Sat, 16 Sep 2000 22:46:52 +0000 Subject: [PATCH] Cleanup --- servers/slapd/tools/slapadd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/servers/slapd/tools/slapadd.c b/servers/slapd/tools/slapadd.c index ab8f06c01a..8bd6b0de52 100644 --- a/servers/slapd/tools/slapadd.c +++ b/servers/slapd/tools/slapadd.c @@ -102,7 +102,6 @@ main( int argc, char **argv ) } id = be->be_entry_put( be, e ); - if( id == NOID ) { fprintf( stderr, "%s: could not add entry dn=\"%s\" (line=%d)\n", progname, e->e_dn, lineno ); @@ -111,7 +110,9 @@ main( int argc, char **argv ) if( continuemode ) continue; break; - } else if ( verbose ) { + } + + if ( verbose ) { fprintf( stderr, "added: \"%s\" (%08lx)\n", e->e_dn, (long) id ); } -- 2.39.5