From 3841a04e883c1d1594570052442a559ff6d290be Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Fri, 11 Feb 2005 20:26:08 +0000 Subject: [PATCH] A minor tweak for the dry_run logic. --- generator.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/generator.c b/generator.c index 8f3177ce..ad28e835 100644 --- a/generator.c +++ b/generator.c @@ -525,12 +525,12 @@ prepare_to_open: statret = 0; } - if (dry_run || whole_file > 0) { + if (dry_run || read_batch) + goto notify_others; + if (whole_file > 0) { statret = -1; goto notify_others; } - if (read_batch) - goto notify_others; /* open the file */ fd = do_open(fnamecmp, O_RDONLY, 0); -- 2.34.1