mirror of https://github.com/BOINC/boinc.git
validator: Avoid infinite loop in --dry-run mode
This commit is contained in:
parent
b541c2d6ec
commit
097b510223
|
@ -801,6 +801,7 @@ bool do_validate_scan() {
|
|||
if (!retval) found = true;
|
||||
if (++i == one_pass_N_WU) break;
|
||||
if (wu_id) break;
|
||||
if (dry_run) break; // otherwise it will enumerate forever
|
||||
}
|
||||
return found;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue