summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2023-05-11 16:55:54 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2023-05-11 16:55:54 +0000
commitb888758c337df4a7ea1d414e6409f6331b699da9 (patch)
treed5e14591518d55d682076805cd63791f42e4f968
parentc6704fb96157cba1379fc6a1febcd1fe63590d07 (diff)
downloadVirtualBox-svn-b888758c337df4a7ea1d414e6409f6331b699da9.tar.gz
Guest Control/VBoxManage: Resolve wait result to a text when running in verbose mode.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@99754 cfe28804-0f27-0410-a406-dd0f0b0b656f
-rw-r--r--src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp b/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
index 3aea8fdec07..b91ac644cd4 100644
--- a/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
+++ b/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp
@@ -1408,7 +1408,7 @@ static RTEXITCODE gctlHandleRunCommon(PGCTLCMDCTX pCtx, int argc, char **argv, b
RT_MIN(500 /*ms*/, RT_MAX(cMsTimeLeft, 1 /*ms*/)),
&waitResult));
if (pCtx->cVerbose)
- RTPrintf(GuestCtrl::tr("waitResult: %d\n"), waitResult);
+ RTPrintf(GuestCtrl::tr("Wait result is '%s' (%d)\n"), gctlProcessWaitResultToText(waitResult), waitResult);
switch (waitResult)
{
case ProcessWaitResult_Start: /** @todo you always wait for 'start', */