mirror of
https://github.com/tmate-io/tmate-ssh-server.git
synced 2020-11-18 19:53:51 -08:00
avoid logging early failures
This commit is contained in:
parent
7f9378de43
commit
07dc84de98
@ -279,7 +279,7 @@ static void client_bootstrap(struct tmate_session *_session)
|
|||||||
|
|
||||||
while (!client->role) {
|
while (!client->role) {
|
||||||
if (ssh_event_dopoll(mainloop, -1) == SSH_ERROR)
|
if (ssh_event_dopoll(mainloop, -1) == SSH_ERROR)
|
||||||
tmate_fatal("Error polling ssh socket: %s", ssh_get_error(session));
|
tmate_fatal_info("Error polling ssh socket: %s", ssh_get_error(session));
|
||||||
}
|
}
|
||||||
|
|
||||||
alarm(0);
|
alarm(0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user