Skip to content

Commit

Permalink
Merge pull request aquasecurity#58 from aquasecurity/Include-stderr-i…
Browse files Browse the repository at this point in the history
…n-output

Update check.go
  • Loading branch information
lizrice authored Oct 23, 2019
2 parents c906d01 + 6d0e65c commit 695b01b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 695b01b

Please sign in to comment.