diff --git a/lib/vagrant-hostmanager/action/update_all.rb b/lib/vagrant-hostmanager/action/update_all.rb index 918abe1..660e2b5 100644 --- a/lib/vagrant-hostmanager/action/update_all.rb +++ b/lib/vagrant-hostmanager/action/update_all.rb @@ -33,7 +33,7 @@ module VagrantPlugins if p == @provider machine = @global_env.machine(name, p) state = machine.state - if state.short_description.eql? 'active' || 'running' + if ['active','running'].include?(state.short_description) @updater.update_guest(machine) end end diff --git a/lib/vagrant-hostmanager/version.rb b/lib/vagrant-hostmanager/version.rb index dc9d969..df106c3 100644 --- a/lib/vagrant-hostmanager/version.rb +++ b/lib/vagrant-hostmanager/version.rb @@ -1,5 +1,5 @@ module VagrantPlugins module HostManager - VERSION = '1.8.4' + VERSION = '1.8.5' end end