Commit 1b2d9c40 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/vmware: find files if they exist [GH-279]

parent 21f92715
......@@ -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:
......
......@@ -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
}
......
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