Update openp2p.go

This commit is contained in:
W192547975
2023-08-06 23:38:14 +08:00
committed by GitHub
parent 82c74b4f85
commit fe4022ba6c

View File

@@ -21,7 +21,6 @@ func Run() {
fmt.Println(OpenP2PVersion)
return
case "update":
gLog = NewLogger(baseDir, ProductName, LvDEBUG, 1024*1024, LogFileAndConsole)
targetPath := filepath.Join(defaultInstallPath, defaultBinName)
d := daemon{}
err := d.Control("restart", targetPath, nil)