minor changes

pull/8/head
Simon Let 7 years ago
parent d46ff64d18
commit e6b97bf2c7
  1. 2
      collect/resh-collect.go
  2. 1
      common/resh-common.go

@ -50,7 +50,7 @@ func main() {
term := flag.String("term", "", "$TERM")
// non-posix
pid := flag.Int("pid", -1, "$PID")
pid := flag.Int("pid", -1, "$$")
sessionPid := flag.Int("sessionPid", -1, "$$ at session start")
shlvl := flag.Int("shlvl", -1, "$SHLVL")

@ -26,7 +26,6 @@ type Record struct {
RealPwdAfter string `json:"realPwdAfter"`
Pid int `json:"pid"`
SessionPid int `json:"sessionPid"`
WindowId int `json:"windowId"`
Host string `json:"host"`
Hosttype string `json:"hosttype"`
Ostype string `json:"ostype"`

Loading…
Cancel
Save