From df4554955832599714f6cf77c40055ebaa85aac1 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 23 Feb 2024 22:07:57 -0600 Subject: goimport auto syntax change --- xterm.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'xterm.go') diff --git a/xterm.go b/xterm.go index d51cc96..b06ef33 100644 --- a/xterm.go +++ b/xterm.go @@ -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 "" - } - - comm, err := GetComm(ppid) - if err != nil { - fmt.Println("Error getting comm:", 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 "" + } */ return comm -- cgit v1.2.3