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