From edbdd08476df063297af0f8977e2df59c7c4fd02 Mon Sep 17 00:00:00 2001 From: Michael Jumper Date: Thu, 8 Nov 2018 19:29:10 -0800 Subject: [PATCH] GUACAMOLE-649: Allow SSH connection to continue despite failure to set LANG environment variable. --- src/protocols/ssh/ssh.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/protocols/ssh/ssh.c b/src/protocols/ssh/ssh.c index fa2aaf67..80b84de1 100644 --- a/src/protocols/ssh/ssh.c +++ b/src/protocols/ssh/ssh.c @@ -324,10 +324,9 @@ void* ssh_client_thread(void* data) { if (settings->locale != NULL) { if (libssh2_channel_setenv(ssh_client->term_channel, "LANG", settings->locale)) { - guac_client_abort(client, GUAC_PROTOCOL_STATUS_UPSTREAM_ERROR, + guac_client_log(client, GUAC_LOG_WARNING, "Unable to forward locale: SSH server refused to set " "\"LANG\" environment variable."); - return NULL; } }