mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 07:14:40 +03:00
tweaks to backup & verifydata tool to make a typical backup+verifydata produce no output
for easy use in a crontab
This commit is contained in:
@ -509,9 +509,6 @@ func backupctl(ctx context.Context, ctl *ctl) {
|
||||
}
|
||||
p := srcpath[len(srcDataDir)+1:]
|
||||
if p == "queue" || p == "acme" || p == "tmp" {
|
||||
if p == "tmp" {
|
||||
xwarnx("skipping entire tmp directory", nil, mlog.Field("path", p))
|
||||
}
|
||||
return fs.SkipDir
|
||||
}
|
||||
l := strings.Split(p, string(filepath.Separator))
|
||||
|
Reference in New Issue
Block a user