From 4a71153544054d610751bb2e9b524395a640781e Mon Sep 17 00:00:00 2001 From: Jens-Uwe Mager Date: Thu, 7 Dec 2023 16:57:39 +0100 Subject: [PATCH] Export the TLS storage last modified time as well. --- cmd/storagefuncs.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/storagefuncs.go b/cmd/storagefuncs.go index 6a6daec7637..60e25485d3f 100644 --- a/cmd/storagefuncs.go +++ b/cmd/storagefuncs.go @@ -200,9 +200,10 @@ func cmdExportStorage(fl Flags) (int, error) { } hdr := &tar.Header{ - Name: k, - Mode: 0o600, - Size: int64(len(v)), + Name: k, + Mode: 0o600, + Size: int64(len(v)), + ModTime: info.Modified, } if err = tw.WriteHeader(hdr); err != nil {