diff options
author | Anders Carling <lowe@lowe.nu> | 2019-10-31 03:10:06 +0100 |
---|---|---|
committer | Anders Carling <lowe@lowe.nu> | 2019-10-31 03:10:06 +0100 |
commit | 4086028baddf5eafa942611e02683e82da1dd181 (patch) | |
tree | c3fa06879223675c821220ab55e740d976d31789 | |
parent | b953838c934efe79a7e0b1f27dcec98307e54efa (diff) | |
download | net-ssh-4086028baddf5eafa942611e02683e82da1dd181.tar.gz |
Place value in globals if we're in a global context
-rw-r--r-- | lib/net/ssh/config.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ssh/config.rb b/lib/net/ssh/config.rb index 4ff103b..ad9aed5 100644 --- a/lib/net/ssh/config.rb +++ b/lib/net/ssh/config.rb @@ -133,7 +133,7 @@ module Net when 'identityfile' (globals[key] ||= []) << value when 'certificatefile' - (settings[key] ||= []) << value + (globals[key] ||= []) << value when 'include' included_file_paths(base_dir, value).each do |file_path| globals = load(file_path, host, globals, base_dir) |