diff --git a/linux/utils.go b/linux/utils.go index 21d38fb..25b3205 100644 --- a/linux/utils.go +++ b/linux/utils.go @@ -31,6 +31,8 @@ func (cmd *LinuxCommand) isCommandExecutable(command string) (bool, error) { return false, nil } + fmt.Println("which:", whichOut) + if err := unix.Access(whichOut, unix.X_OK); err != nil { if err == unix.EACCES { return false, nil