diff --git a/CHANGELOG.md b/CHANGELOG.md index 5456fd437..ed9a796a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ IMPROVEMENTS: for the provisioner to attempt to _start_ the remote process. This allows the shell provisioner to work properly with reboots. [GH-260] +BUG FIXES: + +* builder/vmware: Fix issue with finding driver files. [GH-279] + ## 0.3.0 (August 12, 2013) BACKWARDS INCOMPATIBILITIES: diff --git a/builder/vmware/driver_workstation9_windows.go b/builder/vmware/driver_workstation9_windows.go index 7cef55845..19a7679c9 100644 --- a/builder/vmware/driver_workstation9_windows.go +++ b/builder/vmware/driver_workstation9_windows.go @@ -141,7 +141,7 @@ func findFile(file string, paths []string) string { path = normalizePath(path) log.Printf("Searching for file '%s'", path) - if _, err := os.Stat(path); err != nil { + if _, err := os.Stat(path); err == nil { log.Printf("Found file '%s'", path) return path }