mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
ITS#4453 don't print error message on stdout
This commit is contained in:
parent
ff40a705da
commit
4d85c307c4
1 changed files with 4 additions and 2 deletions
|
|
@ -261,8 +261,10 @@ static int dodelete(
|
|||
return rc;
|
||||
}
|
||||
|
||||
if( verbose || code != LDAP_SUCCESS ||
|
||||
(matcheddn && *matcheddn) || (text && *text) || (refs && *refs) )
|
||||
if( code != LDAP_SUCCESS ) {
|
||||
tool_perror( "ldap_delete", code, NULL, matcheddn, text, refs );
|
||||
} else if ( verbose &&
|
||||
((matcheddn && *matcheddn) || (text && *text) || (refs && *refs) ))
|
||||
{
|
||||
printf( _("Delete Result: %s (%d)\n"),
|
||||
ldap_err2string( code ), code );
|
||||
|
|
|
|||
Loading…
Reference in a new issue