temp remove executable check
This commit is contained in:
parent
2ced31effd
commit
8c22105cf2
1 changed files with 8 additions and 8 deletions
16
linux/run.go
16
linux/run.go
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue