Set timestamp 1 second into the future

This commit is contained in:
Timmy Welch 2024-08-10 21:00:54 -07:00
parent c44567a1d8
commit 12a3cef645

View File

@ -291,7 +291,7 @@ func download(current time.Time) {
// Update the times so the latest file is the uncompressed file
currentTime := time.Now()
err = os.Chtimes(filepath.Join(*destination, sqlite_filename), currentTime, currentTime)
err = os.Chtimes(filepath.Join(*destination, sqlite_filename), currentTime.Add(time.Second), currentTime.Add(time.Second))
if err != nil {
Fatal(err)
}