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