diff --git a/linux/run.go b/linux/run.go index 321599b..f214f2e 100644 --- a/linux/run.go +++ b/linux/run.go @@ -37,15 +37,6 @@ func (cmd *LinuxCommand) Run() error { command.Env = append(command.Env, fmt.Sprintf("%s=%s", key, value)) } - commandExists, err := cmd.doesCommandExist(cmd.Options.Command) - if err != nil { - return err - } - - if !commandExists { - return ErrCommandNotFound - } - if err := command.Start(); err != nil { var exitErr *exec.ExitError if errors.As(err, &exitErr) {