Merge pull request #5556 from BOINC/dpa_vboxw2

vboxwrapper: fix bug that caused VB version detection to fail
This commit is contained in:
Vitalii Koshura 2024-03-27 11:24:21 +01:00 committed by GitHub
commit 10bee5439a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1350,7 +1350,7 @@ CLEANUP:
// Close stream
pclose(fp);
if (output.find("VBoxManage: not found")) {
if (output.find("VBoxManage: not found") != string::npos) {
return ERR_NOT_FOUND;
}