diff --git a/cmd/root.go b/cmd/root.go index cf8c1e59406..97ff141705d 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -158,6 +158,6 @@ func rootCmd(o *options.Options) { pol, ) if resultsErr != nil { - log.Panicf("Failed to output results: %v", err) + log.Panicf("Failed to format results: %v", resultsErr) } }