]> git.sur5r.net Git - openldap/blobdiff - tests/scripts/test045-syncreplication-proxied
s/ldap_sync.h/ldap.h/
[openldap] / tests / scripts / test045-syncreplication-proxied
index 40e7e4bc80af29fcc3e8893f39913fdb8abab507..2e6fe0db887b3c43df36d99363c8e371c1ada121 100755 (executable)
@@ -2,7 +2,7 @@
 # $OpenLDAP$
 ## This work is part of OpenLDAP Software <http://www.openldap.org/>.
 ##
-## Copyright 1998-2007 The OpenLDAP Foundation.
+## Copyright 1998-2008 The OpenLDAP Foundation.
 ## All rights reserved.
 ##
 ## Redistribution and use in source and binary forms, with or without
@@ -141,7 +141,7 @@ for i in 0 1 2 3 4 5; do
        $LDAPSEARCH -s base -b "$MONITOR" -h $LOCALHOST -p $PORT3 \
                '(objectClass=*)' > /dev/null 2>&1
        RC=$?
-       if test $RC = 0 -o $RC = 53 ; then
+       if test $RC = 0 || test $RC = 53 ; then
                break
        fi
        echo "Waiting 5 seconds for slapd to start..."