VirtualBox

Ticket #10138 (new defect)

Opened 2 years ago

Last modified 2 years ago

Guest execution doesn't report proper exit status

Reported by: mitchellh Owned by:
Priority: major Component: guest control
Version: VirtualBox 4.1.8 Keywords:
Cc: Guest type: Linux
Host type: Mac OS X

Description (last modified by frank) (diff)

Easy to reproduce:

foo$ VBoxManage guestcontrol foo execute --timeout 5000 --username vagrant --password vagrant --wait-exit --wait-stdout -- /bin/bash -c 'exit 2'
foo$ echo $?
16

The exit stats should have been 2, but guestcontrol reports 16.

Change History

comment:1 Changed 2 years ago by frank

  • Component changed from guest additions to guest control
  • Description modified (diff)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use