- // only report the first error if we are in StopOnError=false mode
- // to prevent bogus reports
- if((_config->FindB("Dpkg::StopOnError",true) == false) && pkgFailures > 1)
+ // only report the first error
+ if(pkgFailures > _config->FindI("APT::Apport::MaxReports", 3))