mirror of
https://github.com/rclone/rclone.git
synced 2024-11-08 01:25:14 +01:00
Fix misleading log message with --dry-run - fixes #1309
This commit is contained in:
parent
e3a41321cc
commit
bc25190fc7
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user