diff options
| author | Jeff Carr <[email protected]> | 2024-02-23 22:07:57 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-02-23 22:07:57 -0600 |
| commit | df4554955832599714f6cf77c40055ebaa85aac1 (patch) | |
| tree | 8e99fd705740f1bf4a3beeb1e78eb2a99c4251ca /xterm.go | |
| parent | c3c3901e9a713bbc6ab6c82a0f19f1f798461179 (diff) | |
goimport auto syntax changev0.21.1
Diffstat (limited to 'xterm.go')
| -rw-r--r-- | xterm.go | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -59,17 +59,17 @@ func Terminal() string { pid := os.Getpid() _, comm := scanToParent(pid) /* - ppid, err := GetPPID(pid) - if err != nil { - fmt.Println("Error getting PPID:", err) - return "" - } + ppid, err := GetPPID(pid) + if err != nil { + fmt.Println("Error getting PPID:", err) + return "" + } - comm, err := GetComm(ppid) - if err != nil { - fmt.Println("Error getting comm:", err) - return "" - } + comm, err := GetComm(ppid) + if err != nil { + fmt.Println("Error getting comm:", err) + return "" + } */ return comm |
