]> git.sur5r.net Git - openldap/commit
Patch: 'ldapmodify -c' should return error on failure (ITS#2133)
authorKurt Zeilenga <kurt@openldap.org>
Sat, 12 Oct 2002 04:35:42 +0000 (04:35 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 12 Oct 2002 04:35:42 +0000 (04:35 +0000)
commit6b7cee69c2b4281dc366b97609630369b02cb553
tree3ace0c5c3d3b2c17814528bfbb03c47bc7fff9b5
parentb06ceb8ff8849490105a2c48cb93cb8953686c8c
Patch: 'ldapmodify -c' should return error on failure  (ITS#2133)

Written by Hallvard B. Furuseth and placed into the public domain.
This software is not subject to any license of the University of Oslo.

'ldapmodify -c' returned the error status from the _last_ LDIF entry,
so a bad entry followed by a good entry returns success.
This patch makes it return the status of the last _failed_ entry,
or 0 if all entries succeeded.
clients/tools/ldapmodify.c