GUACAMOLE-622: Start terminal for SSH only after SSH connection succeeds.
This commit is contained in:
parent
0b39b0fc5f
commit
4606607309
@ -335,6 +335,7 @@ void* ssh_client_thread(void* data) {
|
|||||||
|
|
||||||
/* Logged in */
|
/* Logged in */
|
||||||
guac_client_log(client, GUAC_LOG_INFO, "SSH connection successful.");
|
guac_client_log(client, GUAC_LOG_INFO, "SSH connection successful.");
|
||||||
|
guac_terminal_start(ssh_client->term);
|
||||||
|
|
||||||
/* Start input thread */
|
/* Start input thread */
|
||||||
if (pthread_create(&(input_thread), NULL, ssh_input_thread, (void*) client)) {
|
if (pthread_create(&(input_thread), NULL, ssh_input_thread, (void*) client)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user