vboxwrapper: fix bug that caused VB version detection to fail

This commit is contained in:
David Anderson 2024-03-27 01:37:34 -07:00
parent b2af30757e
commit fad18aa491
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;
}