Skip to content

Commit

Permalink
Don't disable hardlinking!
Browse files Browse the repository at this point in the history
  • Loading branch information
schmichael committed Apr 12, 2017
1 parent e854ee6 commit e4e7a4c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client/allocdir/fs_unix.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,9 @@ func linkOrCopy(src, dst string, uid, gid int, perm os.FileMode) error {
return nil
}
// Attempt to hardlink.
//if err := os.Link(src, dst); err == nil {
// return nil
//}
if err := os.Link(src, dst); err == nil {
return nil
}

return fileCopy(src, dst, uid, gid, perm)
}

0 comments on commit e4e7a4c

Please sign in to comment.