diff --git a/check/check.go b/check/check.go index d066512..dbd8aec 100644 --- a/check/check.go +++ b/check/check.go @@ -51,7 +51,7 @@ func (audit Audit) Execute(customConfig ...interface{}) (result string, errMessa return result, errMessage, WARN } - res, err := exec.Command("sh", "-c", string(audit) ).Output() + res, err := exec.Command("sh", "-c", string(audit) ).CombinedOutput() if err != nil { errMessage = err.Error()