repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
03e0845
parent
d996f5a
author
Antonio Mika
date
2023-11-10 16:08:34 +0000 UTC
Ignore error for chtimes as nop
1 files changed,  +1, -1
M shared/storage/fs.go
+1, -1
1@@ -118,7 +118,7 @@ func (s *StorageFS) PutFile(bucket Bucket, fpath string, contents utils.ReaderAt
2 
3 	if entry.Mtime > 0 {
4 		uTime := time.Unix(entry.Mtime, 0)
5-		os.Chtimes(loc, uTime, uTime)
6+		_ = os.Chtimes(loc, uTime, uTime)
7 	}
8 
9 	return loc, nil