mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-18 04:44:17 -05:00
Fix non-portable test comparison
This commit is contained in:
parent
e3703bfaab
commit
5972221836
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ $LDAPMODRDN -D "$MANAGERDN" -h $LOCALHOST -p $PORT1 -w $PASSWD > \
|
|||
'cn=James A Jones 1, ou=Alumni Association, ou=People, dc=example, dc=com' 'cn=James A Jones 1'
|
||||
|
||||
RC=$?
|
||||
if test $RC == 0 ; then
|
||||
if test $RC -eq 0 ; then
|
||||
echo "ldapmodrdn succeeded, should have failed!"
|
||||
test $KILLSERVERS != no && kill -HUP $KILLPIDS
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue