builder/vmware: esx file check works properly

This commit is contained in:
Mitchell Hashimoto 2013-11-07 20:46:34 -08:00
parent 05bece2482
commit a665e01ba8

View File

@ -201,7 +201,7 @@ func (d *ESX5Driver) SSHAddress(state multistep.StateBag) (string, error) {
func (d *ESX5Driver) DirExists(path string) (bool, error) {
err := d.sh("test", "-e", d.datastorePath(path))
return err == nil, err
return err == nil, nil
}
func (d *ESX5Driver) MkdirAll(path string) error {