mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 08:23:48 +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:
parent
2b97c21f99
commit
85cef2a06c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue