From 8c22105cf23b6a116c6d30249e772ad709d04c5b Mon Sep 17 00:00:00 2001 From: Shane C Date: Wed, 18 Sep 2024 22:22:50 -0400 Subject: [PATCH] temp remove executable check --- linux/run.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/linux/run.go b/linux/run.go index ad1c76d..232fee4 100644 --- a/linux/run.go +++ b/linux/run.go @@ -51,14 +51,14 @@ func (cmd *LinuxCommand) AddHandler(handler interface{}) error { func (cmd *LinuxCommand) Run() error { - isCommandExecutable, err := cmd.isCommandExecutable(cmd.Options.Command) - if err != nil { - return err - } - - if !isCommandExecutable { - return ErrCommandNotExecutable - } + //isCommandExecutable, err := cmd.isCommandExecutable(cmd.Options.Command) + //if err != nil { + // return err + //} + // + //if !isCommandExecutable { + // return ErrCommandNotExecutable + //} var sourceCommand strings.Builder for _, value := range cmd.Options.Sources {