Ticket #10138 (closed defect: fixed)
Guest execution doesn't report proper exit status
|Reported by:||mitchellh||Owned by:|
|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.
Note: See TracTickets for help on using tickets.