Skip to content

Commit

Permalink
Merge pull request #5556 from BOINC/dpa_vboxw2
Browse files Browse the repository at this point in the history
vboxwrapper: fix bug that caused VB version detection to fail
  • Loading branch information
AenBleidd authored Mar 27, 2024
2 parents b2af307 + fad18aa commit 10bee54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/vboxwrapper/vbox_common.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,7 @@ int VBOX_BASE::vbm_popen_raw(
// Close stream
pclose(fp);

if (output.find("VBoxManage: not found")) {
if (output.find("VBoxManage: not found") != string::npos) {
return ERR_NOT_FOUND;
}

Expand Down

0 comments on commit 10bee54

Please sign in to comment.