mirror of https://github.com/cirruslabs/tart.git
tart stop: return a different exit code when VM is not running (#321)
See https://github.com/cirruslabs/tart/pull/316#issuecomment-1311556674.
This commit is contained in:
parent
31ba71dad7
commit
833c162187
|
|
@ -22,7 +22,7 @@ struct Stop: AsyncParsableCommand {
|
|||
if pid == 0 {
|
||||
print("VM \(name) is not running")
|
||||
|
||||
Foundation.exit(1)
|
||||
Foundation.exit(2)
|
||||
}
|
||||
|
||||
// Try to gracefully terminate the VM
|
||||
|
|
|
|||
Loading…
Reference in New Issue