MCPcopy Create free account
hub / github.com/linuxkit/linuxkit / shutdownVPNKit

Function shutdownVPNKit

src/cmd/linuxkit/run_hyperkit.go:357–365  ·  view source on GitHub ↗
(process *os.Process)

Source from the content-addressed store, hash-verified

355}
356
357func shutdownVPNKit(process *os.Process) {
358 if process == nil {
359 return
360 }
361
362 if err := process.Kill(); err != nil {
363 log.Println(err)
364 }
365}
366
367// createListenSocket creates a new unix domain socket and returns the open file
368func createListenSocket(path string) (*os.File, error) {

Callers 1

runHyperkitCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected