From 24ded29ff63d0adee798936ad20f21befcf8187b Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 16 Mar 2008 06:56:26 -0700 Subject: [PATCH] Fixed a hang when using --remove-source-files in dry-run mode. --- generator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator.c b/generator.c index b1634bd5..4ec0ac41 100644 --- a/generator.c +++ b/generator.c @@ -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++; -- 2.34.1