builder/vmware: esx file check works properly

This commit is contained in:
Mitchell Hashimoto 2013-11-07 20:46:34 -08:00
parent 1bd60be25f
commit 2c8843b4de
1 changed files with 1 additions and 1 deletions

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 {