diff options
| author | Jeff Carr <[email protected]> | 2025-01-12 09:55:09 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-12 09:55:09 -0600 |
| commit | b5002b158b10db3bf89cb6157700390911d53bea (patch) | |
| tree | cb7c8edfe12721509e9fa3cb01431bcda152e12d /human.go | |
| parent | 4e0b3b8f3873e1784b8ad43394c1ad8f8a9fb4fb (diff) | |
more cleanups
Diffstat (limited to 'human.go')
| -rw-r--r-- | human.go | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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) } } |
