GUACAMOLE-649: Allow SSH connection to continue despite failure to set LANG environment variable.
This commit is contained in:
parent
454682979e
commit
edbdd08476
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user