aboutsummaryrefslogtreecommitdiff
path: root/src/clients/cave/cmd_report.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/clients/cave/cmd_report.cc')
-rw-r--r--src/clients/cave/cmd_report.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/clients/cave/cmd_report.cc b/src/clients/cave/cmd_report.cc
index 8bbc34881..1a0d39911 100644
--- a/src/clients/cave/cmd_report.cc
+++ b/src/clients/cave/cmd_report.cc
@@ -223,12 +223,12 @@ ReportCommand::run(
need_heading_origin(done_heading, done_heading_origin, *i, origin);
cout << fuc(fs_package_origin_masked());
}
+ }
- if (insecurity && match_package_in_set(*env, *insecurity, origin, { }))
- {
- need_heading_origin(done_heading, done_heading_origin, *i, origin);
- cout << fuc(fs_package_origin_insecure());
- }
+ if (insecurity && match_package_in_set(*env, *insecurity, *i, { }))
+ {
+ need_heading(done_heading, *i);
+ cout << fuc(fs_package_insecure());
}
if (unused->end() != unused->find(*i))
@@ -238,7 +238,7 @@ ReportCommand::run(
(! (*i)->supports_action(SupportsActionTest<UninstallAction>())))
{
/* ok, or weird */
- }
+ }
else
{
need_heading(done_heading, *i);