Fixed issue 4161

Wrong varaible name was used to try and delete the existing Vagrantfile causing an error.
This commit is contained in:
Shawn Neal 2014-07-08 13:19:43 -07:00
parent bfe50e298e
commit 99a537605c
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ module VagrantPlugins
save_path = nil
if options[:output] != "-"
save_path = Pathname.new(options[:output]).expand_path(@env.cwd)
save_file.delete if save_path.exist? && options[:force]
save_path.delete if save_path.exist? && options[:force]
raise Vagrant::Errors::VagrantfileExistsError if save_path.exist?
end