summaryrefslogtreecommitdiffstats
path: root/vagrant/lib
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2013-12-17 20:03:43 +0000
committerTails developers <amnesia@boum.org>2013-12-21 12:16:25 +0000
commit4568f708af2269f74f29308019e1fbd5086c57a0 (patch)
treec2ea4d6fa517e4f41ced8c6044957540fd0ce319 /vagrant/lib
parent3d093c8e481a244320a74781ea12e57cedbd9d8c (diff)
Use old Vagrant stuff when its version[1] < 2.
This fixes things for Julien Voisin on Vagrant 1.2.2.
Diffstat (limited to 'vagrant/lib')
-rw-r--r--vagrant/lib/vagrant_version.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/vagrant/lib/vagrant_version.rb b/vagrant/lib/vagrant_version.rb
index 655e309..3d61f7d 100644
--- a/vagrant/lib/vagrant_version.rb
+++ b/vagrant/lib/vagrant_version.rb
@@ -18,5 +18,5 @@ require 'vagrant/version'
def vagrant_old
version = Vagrant::VERSION.split(".")
- return version[1].to_i < 3
+ return version[1].to_i < 2
end