mirror of
https://github.com/openp2p-cn/openp2p.git
synced 2026-04-10 22:38:31 +08:00
Update openp2p.go
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user