Merge pull request #5585 from computezrmle/report_timeout_from_vbm_popen

Report TIMEOUT from vbm_popen
This commit is contained in:
Vitalii Koshura 2024-04-15 09:45:24 +02:00 committed by GitHub
commit 344901e4fb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 1 deletions

View File

@ -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);