diff --git a/CHANGELOG.md b/CHANGELOG.md index 0314c049f..5b64aea71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ BUG FIXES: - core: V1 Vagrantfiles can upgrade provisioners properly. [GH-3092] + - core: Rare EINVAL errors on box adding are gone. [GH-3094] ## 1.5.0 (March 10, 2014) diff --git a/lib/vagrant/action/builtin/box_add.rb b/lib/vagrant/action/builtin/box_add.rb index 634015e26..8573cae12 100644 --- a/lib/vagrant/action/builtin/box_add.rb +++ b/lib/vagrant/action/builtin/box_add.rb @@ -450,6 +450,10 @@ module Vagrant return true rescue Errors::BoxMetadataMalformed return false + rescue Errno::EINVAL + # Actually not sure what causes this, but its always + # in a case that isn't true. + return false rescue Errno::ENOENT return false end