Fix misleading log message with --dry-run - fixes #1309

This commit is contained in:
Nick Craig-Wood 2017-04-10 16:07:22 +01:00
parent e3a41321cc
commit bc25190fc7

View File

@ -447,7 +447,7 @@ func deleteFileWithBackupDir(dst Object, backupDir Fs) (err error) {
if err != nil {
Stats.Error()
Errorf(dst, "Couldn't %s: %v", action, err)
} else {
} else if !Config.DryRun {
Infof(dst, actioned)
}
Stats.DoneChecking(dst.Remote())