summaryrefslogtreecommitdiff
path: root/human.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-01-12 09:55:09 -0600
committerJeff Carr <[email protected]>2025-01-12 09:55:09 -0600
commitb5002b158b10db3bf89cb6157700390911d53bea (patch)
treecb7c8edfe12721509e9fa3cb01431bcda152e12d /human.go
parent4e0b3b8f3873e1784b8ad43394c1ad8f8a9fb4fb (diff)
more cleanups
Diffstat (limited to 'human.go')
-rw-r--r--human.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/human.go b/human.go
index 6c96bd1..d6f460f 100644
--- a/human.go
+++ b/human.go
@@ -129,13 +129,14 @@ func (msg *MsgName) printMsg() {
}
func checkCmd(cmd string) {
- path, err := exec.LookPath(cmd)
+ // path, err := exec.LookPath(cmd)
+ _, err := exec.LookPath(cmd)
if err != nil {
- fmt.Printf("\n%s is not in the PATH\n", cmd)
+ // fmt.Printf("\n%s is not in the PATH\n", cmd)
userInstructions()
log.Sleep(2)
} else {
- fmt.Printf("%s is available at %s\n", cmd, path)
+ // fmt.Printf("%s is available at %s\n", cmd, path)
}
}