diff --git a/config.go b/config.go index 908f964..12e146b 100644 --- a/config.go +++ b/config.go @@ -233,7 +233,7 @@ func (c *Config) Cleanup(e *Email) { log.WithFields(log.Fields{"box": b.name, "fs": fs.path}).Warnf("not backed up") e.AddItem(fmt.Sprintf(" - Src : Folder not backed up (%s)", b.name+":"+fs.path)) } - if len(fs.destApps) == 0 && !fs.backedUp && fs.managed { + if len(fs.destApps) == 0 && len(fs.srcApps) == 0 && fs.managed { log.WithFields(log.Fields{"box": b.name, "fs": fs.path}).Warnf("managed") e.AddItem(fmt.Sprintf(" - Dest : Folder managed (%s)", b.name+":"+fs.path)) } diff --git a/version.go b/version.go index e5ab2e9..c6d9ad9 100644 --- a/version.go +++ b/version.go @@ -1,7 +1,7 @@ // Code generated by version.sh (@generated) DO NOT EDIT. package main -var githash = "f4487ac" +var githash = "4a0f110" var branch = "v2" -var buildstamp = "2023-07-31_09:10:27" -var commits = "71" -var version = "f4487ac-b71 - 2023-07-31_09:10:27" +var buildstamp = "2023-07-31_09:15:54" +var commits = "72" +var version = "4a0f110-b72 - 2023-07-31_09:15:54"