builder/vmware: esx file check works properly
This commit is contained in:
parent
1bd60be25f
commit
2c8843b4de
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue