From 416cc26953d3e375ce38502a4e39c690bca21b02 Mon Sep 17 00:00:00 2001 From: Ben Morrison Date: Thu, 30 May 2019 03:00:27 -0400 Subject: alternate who script --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index fabfa43..e312d50 100644 --- a/main.go +++ b/main.go @@ -145,7 +145,7 @@ func main() { if strings.HasPrefix(e.Last(), "!users") { // execs: who -q | awk 'NR==1' // then saves the output to bytestream - who := exec.Command("/usr/local/bin/showwhoison", "") + who := exec.Command("/usr/local/bin/who2.sh", "") var bytestream bytes.Buffer who.Stdout = &bytestream err := who.Run() -- cgit 1.4.1-2-gfad0