communicators/ssh: rescue another exception for reset

This commit is contained in:
Mitchell Hashimoto 2014-05-09 15:58:48 -07:00
parent e6a5ff37d0
commit 782c3762cc
1 changed files with 1 additions and 1 deletions

View File

@ -516,7 +516,7 @@ module VagrantPlugins
# Wait for the channel to complete
begin
channel.wait
rescue IOError
rescue Errno::ECONNRESET, IOError
@logger.info("SSH connection unexpected closed. Assuming reboot or something.")
exit_status = 0
end