summaryrefslogtreecommitdiff
path: root/pkg/ctime/ctime_linux.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/ctime/ctime_linux.go')
-rw-r--r--pkg/ctime/ctime_linux.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/ctime/ctime_linux.go b/pkg/ctime/ctime_linux.go
index e83269d49..113693e87 100644
--- a/pkg/ctime/ctime_linux.go
+++ b/pkg/ctime/ctime_linux.go
@@ -10,5 +10,6 @@ import (
func created(fi os.FileInfo) time.Time {
st := fi.Sys().(*syscall.Stat_t)
+ //nolint
return time.Unix(int64(st.Ctim.Sec), int64(st.Ctim.Nsec))
}