debug
This commit is contained in:
parent
8390e16616
commit
def7d60825
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue