Project 'eterfund/typoservice' was moved to 'eterfund/retypos-server'. Please update any links and bookmarks that may still have the old path.
Commit bb0e2260 authored by Stas Korobeynikov's avatar Stas Korobeynikov Committed by Pavel Vainerman

add sleep to connect process

parent e1892b03
......@@ -817,6 +817,8 @@ ssh_connect_direct(const char *host, struct addrinfo *aitop,
logit("NX> 200 Connected to address: %.200s on port: %.200s", ntop, strport);
break; /* Successful connection. */
}
/* Sleep a moment before retrying. */
sleep(1);
}
/* Return failure if we didn't get a successful connection. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment