diff --git a/builder/vmware/driver_esx5.go b/builder/vmware/driver_esx5.go index 89223d720..d1306e6eb 100644 --- a/builder/vmware/driver_esx5.go +++ b/builder/vmware/driver_esx5.go @@ -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 {