mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-11-03 23:20:25 +08:00
systemd Service安装失败时直接返回
This commit is contained in:
@@ -32,6 +32,7 @@ func main() {
|
||||
err := nodes.NewNode().InstallSystemService()
|
||||
if err != nil {
|
||||
fmt.Println("[ERROR]install failed: " + err.Error())
|
||||
return
|
||||
}
|
||||
fmt.Println("done")
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user