[Date Prev][Date Next] [Chronological] [Thread] [Top]

Patch: 'ldapmodify -c' should return error on failure (ITS#2133)



Full_Name: Hallvard B. Furuseth
Version: HEAD
OS: Solaris
URL: http://folk.uio.no/hbf/OpenLDAP/ldapmodify-retval.txt
Submission from: (NULL) (129.240.186.42)


'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.