From 138786855fe8978e27d2c743af59a5d91b945de0 Mon Sep 17 00:00:00 2001 From: shoopea Date: Mon, 31 Jul 2023 10:30:59 +0200 Subject: [PATCH] debug --- config.go | 5 ++++- version.go | 8 ++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/config.go b/config.go index 77f8a7e..8ac9baf 100644 --- a/config.go +++ b/config.go @@ -215,8 +215,11 @@ func (c *Config) Cleanup(e *Email) { } for _, dest := range a.destinations { if b, ok := c.box[src.Box()]; ok { - if fs, ok := b.zfs.filesystems[dest.Append("/"+src.Box()+"/"+src.Path()).Path()]; ok { + d := dest.Append("/" + src.Box() + "/" + src.Path()) + if fs, ok := b.zfs.filesystems[d.Path()]; ok { fs.destApps = append(fs.destApps, a) + } else { + e.AddItem(fmt.Sprintf(" - Dest : No folder (%s)", d.String())) } } } diff --git a/version.go b/version.go index 0b58f5a..69623a0 100644 --- a/version.go +++ b/version.go @@ -1,7 +1,7 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "b4d27e0" +var githash = "2afd699" var branch = "v2" -var buildstamp = "2023-07-31_08:20:10" -var commits = "67" -var version = "b4d27e0-b67 - 2023-07-31_08:20:10" +var buildstamp = "2023-07-31_08:29:23" +var commits = "68" +var version = "2afd699-b68 - 2023-07-31_08:29:23"