debug thing
This commit is contained in:
parent
c7db79fe13
commit
c0fb972b5f
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ func (cmd *LinuxCommand) isCommandExecutable(command string) (bool, error) {
|
||||||
command = whichOut
|
command = whichOut
|
||||||
}
|
}
|
||||||
|
|
||||||
|
fmt.Println("cmd: ", command)
|
||||||
|
|
||||||
if err := unix.Access(command, unix.X_OK); err != nil {
|
if err := unix.Access(command, unix.X_OK); err != nil {
|
||||||
if err == unix.EACCES {
|
if err == unix.EACCES {
|
||||||
return false, nil
|
return false, nil
|
||||||
|
|
Loading…
Reference in a new issue