forked from TrueCloudLab/rclone
Fix misleading log message with --dry-run - fixes #1309
This commit is contained in:
parent
e3a41321cc
commit
bc25190fc7
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ func deleteFileWithBackupDir(dst Object, backupDir Fs) (err error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
Stats.Error()
|
Stats.Error()
|
||||||
Errorf(dst, "Couldn't %s: %v", action, err)
|
Errorf(dst, "Couldn't %s: %v", action, err)
|
||||||
} else {
|
} else if !Config.DryRun {
|
||||||
Infof(dst, actioned)
|
Infof(dst, actioned)
|
||||||
}
|
}
|
||||||
Stats.DoneChecking(dst.Remote())
|
Stats.DoneChecking(dst.Remote())
|
||||||
|
|
Loading…
Add table
Reference in a new issue