Skip to content

Commit

Permalink
Fix a mild race condition in mount_darwin.go
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoroviev authored and tv42 committed Mar 22, 2015
1 parent a48407a commit 79d103f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mount_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ func callMount(dir string, conf *MountConfig, f *os.File, ready chan<- struct{},
return err
}
go func() {
err = cmd.Wait()
err := cmd.Wait()
if err != nil {
if buf.Len() > 0 {
output := buf.Bytes()
Expand Down

0 comments on commit 79d103f

Please sign in to comment.