From d278fb266123e98a586be9bfbdaece96dfe7fefe Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 24 Jan 2014 13:16:07 -0800 Subject: [PATCH] core: catch ENOENT as not a metadata URL --- lib/vagrant/action/builtin/box_add.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/vagrant/action/builtin/box_add.rb b/lib/vagrant/action/builtin/box_add.rb index 8ea51e9f2..105080bbc 100644 --- a/lib/vagrant/action/builtin/box_add.rb +++ b/lib/vagrant/action/builtin/box_add.rb @@ -433,6 +433,8 @@ module Vagrant return true rescue Errors::BoxMetadataMalformed return false + rescue Errno::ENOENT + return false end end