core: if interrupted, don't open metadata file

This commit is contained in:
Mitchell Hashimoto 2015-07-07 12:38:45 -06:00
parent 5e02e9cc89
commit 28bea401c0
1 changed files with 1 additions and 0 deletions

View File

@ -176,6 +176,7 @@ module Vagrant
begin
metadata_path = download(
authenticated_url, env, json: true, ui: false)
return if @download_interrupted
File.open(metadata_path) do |f|
metadata = BoxMetadata.new(f)