mirror of https://github.com/BOINC/boinc.git
vboxwrapper: fix bug that caused VB version detection to fail
This commit is contained in:
parent
b2af30757e
commit
fad18aa491
|
@ -1350,7 +1350,7 @@ CLEANUP:
|
||||||
// Close stream
|
// Close stream
|
||||||
pclose(fp);
|
pclose(fp);
|
||||||
|
|
||||||
if (output.find("VBoxManage: not found")) {
|
if (output.find("VBoxManage: not found") != string::npos) {
|
||||||
return ERR_NOT_FOUND;
|
return ERR_NOT_FOUND;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue