mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-23 06:14:18 -04:00
Fixed a hang when using --remove-source-files in dry-run mode.
This commit is contained in:
1 parent
ddff23a7f9
commit
24ded29ff6
1 file changed
+1
-1
+1
-1
@@ -1856,7 +1856,7 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx,
|
||||
rprintf(FINFO, "generating and sending sums for %d\n", ndx);
|
||||
|
||||
notify_others:
|
||||
if (remove_source_files && !delay_updates && !phase)
|
||||
if (remove_source_files && !delay_updates && !phase && !dry_run)
|
||||
increment_active_files(ndx, itemizing, code);
|
||||
if (inc_recurse && !dry_run)
|
||||
cur_flist->in_progress++;
|
||||
|
||||
Reference in new issue
Block a user