diff --git a/collector/collector.go b/collector/collector.go index 43f2936..692a0f7 100644 --- a/collector/collector.go +++ b/collector/collector.go @@ -149,9 +149,6 @@ func (c *Collector) collect() Metric { var cmdBuffer bytes.Buffer session.Stdout = &cmdBuffer commanderror = session.Run(c.target.Command) - if commanderror != nil { - return - } metric.Output = cmdBuffer.String() } if !timeout {