allow utimes on mac os, only lutimes isn't supported
Docker-DCO-1.1-Signed-off-by: Victor Vieux <vieux@docker.com> (github: vieux)
This commit is contained in:
parent
d18d9ffeaa
commit
ce1fb5a1c9
3 changed files with 13 additions and 5 deletions
|
@ -24,8 +24,5 @@ func LUtimesNano(path string, ts []syscall.Timespec) error {
|
|||
}
|
||||
|
||||
func UtimesNano(path string, ts []syscall.Timespec) error {
|
||||
if err := syscall.UtimesNano(path, ts); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return syscall.UtimesNano(path, ts)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue