INNER CODE UNIT · Go
ans
superedge/superedge · hack/update-lite-apiserver/main.go:85
ans := <-ch
if ans != "done" {
fmt.Printf("systemctl %s %s failed: %s\n", action, service, ans)
os.Exit(1)
}
fmt.Printf("systemctl %s %s successed\n", action, service)
}