diff --git a/client/allocdir/alloc_dir_windows.go b/client/allocdir/alloc_dir_windows.go index 33911ab17..ab0692b5b 100644 --- a/client/allocdir/alloc_dir_windows.go +++ b/client/allocdir/alloc_dir_windows.go @@ -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. diff --git a/client/fingerprint/network_unix.go b/client/fingerprint/network_unix.go index f2b17d3c0..5a5fcdc6c 100644 --- a/client/fingerprint/network_unix.go +++ b/client/fingerprint/network_unix.go @@ -1,4 +1,5 @@ // +build linux darwin + package fingerprint import ( diff --git a/client/fingerprint/network_windows.go b/client/fingerprint/network_windows.go index 866fc102a..99467bcc8 100644 --- a/client/fingerprint/network_windows.go +++ b/client/fingerprint/network_windows.go @@ -1,4 +1,5 @@ // +build windows + package fingerprint import (