Commit cbad86d3 authored by Han-Wen Nienhuys's avatar Han-Wen Nienhuys

Fix return value shadowing.

parent 330c80da
......@@ -48,7 +48,8 @@ func mount(mountPoint string, options string) (f *os.File, finalMountPoint strin
mountPoint = filepath.Clean(mountPoint)
if !filepath.IsAbs(mountPoint) {
cwd, err := os.Getwd()
cwd := ""
cwd, err = os.Getwd()
if err != nil {
return
}
......
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