about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-05-30 03:00:27 -0400
committerBen Morrison <ben@gbmor.dev>2019-05-30 03:00:27 -0400
commit416cc26953d3e375ce38502a4e39c690bca21b02 (patch)
tree54f37e8a8d1617753e0a960d833427e03197c91e
parent78fe4cbb3eddb166f0bf6a52299e3e37c5761deb (diff)
downloadgoofbot-416cc26953d3e375ce38502a4e39c690bca21b02.tar.gz
alternate who script
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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()