diff options
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) } } |
