mirror of https://github.com/BOINC/boinc.git
Merge pull request #5585 from computezrmle/report_timeout_from_vbm_popen
Report TIMEOUT from vbm_popen
This commit is contained in:
commit
344901e4fb
|
@ -1171,7 +1171,10 @@ int VBOX_BASE::vbm_popen(string& command, string& output, const char* item, bool
|
|||
}
|
||||
|
||||
// Timeout?
|
||||
if (retry_count >= 5) break;
|
||||
if (retry_count >= 5) {
|
||||
retval = ERR_TIMEOUT;
|
||||
break;
|
||||
}
|
||||
|
||||
retry_count++;
|
||||
boinc_sleep(sleep_interval);
|
||||
|
|
Loading…
Reference in New Issue