Commit 2c8843b4 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/vmware: esx file check works properly

parent 1bd60be2
......@@ -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 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment