diff options
Diffstat (limited to 'human.go')
| -rw-r--r-- | human.go | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -58,12 +58,13 @@ func checkCmdSimple(cmd string) bool { return true } +// never output anythhing to stdout or stderr here func CheckCmd(cmd string) (string, error) { path, 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) } else { - fmt.Printf("%s is available at %s\n", cmd, path) + // fmt.Printf("%s is available at %s\n", cmd, path) } return path, err } |
