diff options
Diffstat (limited to 'knife')
-rw-r--r-- | knife/lib/chef/knife/ssh.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/knife/lib/chef/knife/ssh.rb b/knife/lib/chef/knife/ssh.rb index e69de62bc2..bac88b7d50 100644 --- a/knife/lib/chef/knife/ssh.rb +++ b/knife/lib/chef/knife/ssh.rb @@ -398,6 +398,8 @@ class Chef end session.loop exit_status + ensure + subsession.close end def get_password |