mirror of https://github.com/BOINC/boinc.git
parent
54c27ff947
commit
fafb8a9bbf
|
@ -306,7 +306,7 @@ bool VBOX_VM::is_running() {
|
|||
if (vbm_popen(command, output) == 0) {
|
||||
vmstate_location = output.find("VMState=\"");
|
||||
if (vmstate_location != string::npos) {
|
||||
vmstate_location += 9;
|
||||
vmstate_location += 10;
|
||||
vmstate_length = output.find("\"", vmstate_location);
|
||||
vmstate = output.substr(vmstate_location, vmstate_length);
|
||||
|
||||
|
|
Loading…
Reference in New Issue