This commit is contained in:
Shane C 2024-07-10 20:23:27 -04:00
parent 8390e16616
commit def7d60825
Signed by: shane
GPG key ID: E46B5FEA35B22FF9

View file

@ -31,6 +31,8 @@ func (cmd *LinuxCommand) isCommandExecutable(command string) (bool, error) {
return false, nil return false, nil
} }
fmt.Println("which:", whichOut)
if err := unix.Access(whichOut, unix.X_OK); err != nil { if err := unix.Access(whichOut, unix.X_OK); err != nil {
if err == unix.EACCES { if err == unix.EACCES {
return false, nil return false, nil