From 9b4347c3fc1c1abb286bfea606e5e7027c519f07 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Tue, 11 Feb 2014 16:25:28 -0500 Subject: [PATCH] VBOX: One additional fix for RPC_S_SERVER_UNAVAILABLE. --- samples/vboxwrapper/vbox.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/samples/vboxwrapper/vbox.cpp b/samples/vboxwrapper/vbox.cpp index b5a9bf5000..203732506e 100644 --- a/samples/vboxwrapper/vbox.cpp +++ b/samples/vboxwrapper/vbox.cpp @@ -2927,10 +2927,8 @@ CLEANUP: #endif // Is this a RPC_S_SERVER_UNAVAILABLE returned by vboxmanage? - if (!retval) { - if (output.find("RPC_S_SERVER_UNAVAILABLE") != string::npos) { - retval = RPC_S_SERVER_UNAVAILABLE; - } + if (output.find("RPC_S_SERVER_UNAVAILABLE") != string::npos) { + retval = RPC_S_SERVER_UNAVAILABLE; } return retval;