commands/global-status: call proper method
This commit is contained in:
parent
5da77dee5c
commit
e1c79c4692
|
@ -42,7 +42,7 @@ module VagrantPlugins
|
|||
@env.machine_index.each do |entry|
|
||||
# If we're pruning and this entry is invalid, skip it
|
||||
# and prune it later.
|
||||
if options[:prune] && entry.invalid?(@env.home_path)
|
||||
if options[:prune] && !entry.valid?(@env.home_path)
|
||||
prune << entry
|
||||
next
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue