Error out when meta file cannot be read
git-svn-id: file:///srv/svn/repo/marisa/trunk@54 d6811dac-2434-b64a-9ddc-f563ab233461
This commit is contained in:
parent
08d28053f8
commit
f68d6af453
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user