b4d6c35 wait for sync agreement to be ready before starting

1 file Authored by rmeggins 15 years ago, Committed by simo 15 years ago,
    wait for sync agreement to be ready before starting
    
    Added checking for error status - Added maxtries so that the script won't wait forever if there is something wrong