temp remove executable check

This commit is contained in:
Shane C 2024-09-18 22:22:50 -04:00
parent 2ced31effd
commit 8c22105cf2
Signed by: shane
GPG key ID: E46B5FEA35B22FF9

View file

@ -51,14 +51,14 @@ func (cmd *LinuxCommand) AddHandler(handler interface{}) error {
func (cmd *LinuxCommand) Run() error { func (cmd *LinuxCommand) Run() error {
isCommandExecutable, err := cmd.isCommandExecutable(cmd.Options.Command) //isCommandExecutable, err := cmd.isCommandExecutable(cmd.Options.Command)
if err != nil { //if err != nil {
return err // return err
} //}
//
if !isCommandExecutable { //if !isCommandExecutable {
return ErrCommandNotExecutable // return ErrCommandNotExecutable
} //}
var sourceCommand strings.Builder var sourceCommand strings.Builder
for _, value := range cmd.Options.Sources { for _, value := range cmd.Options.Sources {