systemd Service安装失败时直接返回

This commit is contained in:
刘祥超
2021-01-26 21:32:09 +08:00
parent 54ae493967
commit a843713ccf

View File

@@ -32,6 +32,7 @@ func main() {
err := nodes.NewNode().InstallSystemService()
if err != nil {
fmt.Println("[ERROR]install failed: " + err.Error())
return
}
fmt.Println("done")
})