communicators/ssh: rescue another exception for reset
This commit is contained in:
parent
e6a5ff37d0
commit
782c3762cc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue