From 3fe17ce4a0b9a2c958f471c3a3ab0c5595d088b1 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 22 May 2018 01:30:47 -0400 Subject: Fix file coverage stats for check/status commands (part deux) --- sbosrcarch | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sbosrcarch b/sbosrcarch index e5a68f0..6b252c2 100755 --- a/sbosrcarch +++ b/sbosrcarch @@ -1503,6 +1503,7 @@ sub check_byname_wanted { if(!defined($filename) || defined($extra)) { print "misplaced file (not in a category/prgnam dir): $_\n"; + $filecount--; return; } @@ -1511,6 +1512,7 @@ sub check_byname_wanted { my $info = join("/", $sbogitdir, $category, $prgnam, $prgnam . ".info"); if(!-f $info) { print "$shortname extraneous: no info file for $prgnam/$category\n"; + $filecount--; return; } -- cgit v1.2.3