beringresearch / macpine

Lightweight Linux VMs on MacOS
https://beringresearch.github.io/macpine/
Apache License 2.0
911 stars 22 forks source link

Fix issue in `cmd/start.go` #106

Closed maxzinkus closed 1 year ago

maxzinkus commented 1 year ago

If alpine start is called on a running VM, host/start.go will return an error that the VM is already running -- which cmd/start.go interprets as a failure to start the VM, thus annoyingly calling stop.

This fixes that.