From 4dda6f53e1aa7b6205447f23794415692f6aa5fb Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Thu, 23 Jan 2014 07:30:16 -0500 Subject: [PATCH] VBOX: Start success is when both vm_pid and vm_pid_handle are non-zero values. --- samples/vboxwrapper/vbox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/vboxwrapper/vbox.cpp b/samples/vboxwrapper/vbox.cpp index 050738e65c..a007d003b2 100644 --- a/samples/vboxwrapper/vbox.cpp +++ b/samples/vboxwrapper/vbox.cpp @@ -1126,9 +1126,9 @@ int VBOX_VM::start() { get_vm_process_id(); #ifdef _WIN32 - if (!vm_pid && !vm_pid_handle) break; + if (vm_pid && vm_pid_handle) break; #else - if (!vm_pid) break; + if (vm_pid) break; #endif if (timeout > 45) {