Commit 077ec185 authored by ligaishun's avatar ligaishun

Update process.go

parent 7808fdb8
...@@ -30,7 +30,7 @@ type updateInfo struct { ...@@ -30,7 +30,7 @@ type updateInfo struct {
} }
var Wallet ProcessInfo var Bityuan ProcessInfo
var UpdateInfo updateInfo var UpdateInfo updateInfo
var NodeError error var NodeError error
...@@ -83,10 +83,10 @@ func getWalletInfo()error{ ...@@ -83,10 +83,10 @@ func getWalletInfo()error{
record:=StrFilter(strings.Split(rawProcessInfo," "),"") record:=StrFilter(strings.Split(rawProcessInfo," "),"")
{ {
Wallet.User=record[0] Bityuan.User=record[0]
Wallet.Pid=record[1] Bityuan.Pid=record[1]
Wallet.Path=record[10] Bityuan.Path=record[10]
Wallet.PName=path.Base(Wallet.Path) Bityuan.PName=path.Base(Bityuan.Path)
} }
return nil return nil
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment