vmctl(8): set exit code for vmctl stat -r
authormlarkin <mlarkin@openbsd.org>
Tue, 9 Jul 2024 15:51:11 +0000 (15:51 +0000)
committermlarkin <mlarkin@openbsd.org>
Tue, 9 Jul 2024 15:51:11 +0000 (15:51 +0000)
commit85846d3ec971e4e7276fabc0a3e83bff67cb3972
treeb961db7b34a79bc04b838ed4852744beab88ad44
parentc6adfb2bff4d15e866f1214cdc26caf3eb28685d
vmctl(8): set exit code for vmctl stat -r

set exit code to 1 if no running VMs are detected with vmctl stat -r.

ok dv
usr.sbin/vmctl/vmctl.c
usr.sbin/vmctl/vmctl.h