Commit 3841a04e authored by Wayne Davison's avatar Wayne Davison

A minor tweak for the dry_run logic.

parent 9eef8f0b
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment