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
|
# Wait for the channel to complete
|
||||||
begin
|
begin
|
||||||
channel.wait
|
channel.wait
|
||||||
rescue IOError
|
rescue Errno::ECONNRESET, IOError
|
||||||
@logger.info("SSH connection unexpected closed. Assuming reboot or something.")
|
@logger.info("SSH connection unexpected closed. Assuming reboot or something.")
|
||||||
exit_status = 0
|
exit_status = 0
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue