client: fix windows build errors
This commit is contained in:
parent
c4fe19764c
commit
690634d245
|
@ -6,7 +6,7 @@ import (
|
|||
)
|
||||
|
||||
func (d *AllocDir) linkOrCopy(src, dst string, perm os.FileMode) error {
|
||||
return fileCopy(src, dst)
|
||||
return fileCopy(src, dst, perm)
|
||||
}
|
||||
|
||||
// The windows version does nothing currently.
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// +build linux darwin
|
||||
|
||||
package fingerprint
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
// +build windows
|
||||
|
||||
package fingerprint
|
||||
|
||||
import (
|
||||
|
|
Loading…
Reference in a new issue