diff --git a/cmd/osquery-perf/osquery_perf/stats.go b/cmd/osquery-perf/osquery_perf/stats.go index 4569f888e1..1269aea712 100644 --- a/cmd/osquery-perf/osquery_perf/stats.go +++ b/cmd/osquery-perf/osquery_perf/stats.go @@ -222,7 +222,7 @@ func (s *Stats) IncrementSoftwareInstalls() { func (s *Stats) IncrementSoftwareInstallErrs() { s.l.Lock() defer s.l.Unlock() - s.softwareInstalls++ + s.softwareInstallErrs++ } func (s *Stats) Log() {