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