mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-25 08:12:54 -05:00
Fix prev commit
This commit is contained in:
parent
075137b8dd
commit
12258ab798
1 changed files with 3 additions and 1 deletions
|
|
@ -837,7 +837,9 @@ tool_bind( LDAP *ld )
|
|||
if ( err != LDAP_SUCCESS || msgbuf[0] ) {
|
||||
fprintf( stderr, "ldap_bind: %s%s\n", ldap_err2string( err ),
|
||||
msgbuf );
|
||||
exit( EXIT_FAILURE );
|
||||
if ( err != LDAP_SUCCESS ) {
|
||||
exit( EXIT_FAILURE );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue