partage

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.z3bra.org/partage.git
Log | Files | Refs | README | LICENSE

commit fcf55b5e3d89939df728983495fb23c90b453dd6
parent 03b413e9f7f7a98f6de93becdfd1002c496e8017
Author: Willy Goiffon <dev@z3bra.org>
Date:   Tue, 26 Oct 2021 17:02:50 +0200

Error out when meta file cannot be read

Diffstat:
Mpartage-trash/partage-trash.go | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/partage-trash/partage-trash.go b/partage-trash/partage-trash.go @@ -46,6 +46,9 @@ func checkexpiry(path string, info os.FileInfo, err error) error { return nil } meta, err := readmeta(path) + if err != nil { + log.Fatal(err) + } now := time.Now().Unix()