mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 10:34:40 +03:00
when warning about not being able to hardlink during a backup, make it clear we continue with regular copying and that there won't be another warning
for issue #61 by x8x
This commit is contained in:
@ -231,7 +231,7 @@ func backupctl(ctx context.Context, ctl *ctl) {
|
||||
// No point in trying with regular copy, we would warn twice.
|
||||
return false, err
|
||||
} else if !warnedHardlink {
|
||||
xwarnx("creating hardlink to message", err, mlog.Field("srcpath", srcpath), mlog.Field("dstpath", dstpath))
|
||||
xwarnx("creating hardlink to message failed, will be doing regular file copies and not warn again", err, mlog.Field("srcpath", srcpath), mlog.Field("dstpath", dstpath))
|
||||
warnedHardlink = true
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user