debug thing

This commit is contained in:
Shane C 2024-07-10 20:20:18 -04:00
parent c7db79fe13
commit c0fb972b5f
Signed by: shane
GPG key ID: E46B5FEA35B22FF9

View file

@ -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