Skip to content
Snippets Groups Projects
Commit 30694207 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Better language support, override to en.UTF-8

parent e9d3e2b3
No related branches found
No related tags found
Loading
...@@ -304,6 +304,14 @@ if (defined($needDSS)) { ...@@ -304,6 +304,14 @@ if (defined($needDSS)) {
logger('NOTICE',"Connecting to host '".color('green')."$loginHost".color('reset')."'" . logger('NOTICE',"Connecting to host '".color('green')."$loginHost".color('reset')."'" .
(defined($loginPort) ? " on port '".color('green')."$loginPort".color('reset')."'" : "") . "...\n\n\n"); (defined($loginPort) ? " on port '".color('green')."$loginPort".color('reset')."'" : "") . "...\n\n\n");
# Fixup environment
$ENV{'LANG'} = "en_US.UTF-8";
delete($ENV{'LC_ALL'});
delete($ENV{'LC_TIME'});
delete($ENV{'LC_CTYPE'});
exec('/usr/bin/ssh', exec('/usr/bin/ssh',
'-F',$ENV{"HOME"}.'/.ssh/config', '-F',$ENV{"HOME"}.'/.ssh/config',
# Try our key only, we should never need to fall back to password # Try our key only, we should never need to fall back to password
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment