]> git.donarmstrong.com Git - bugscan.git/commitdiff
skip section if it is not defined
authorDon Armstrong <don@donarmstrong.com>
Sun, 9 Apr 2017 23:42:13 +0000 (16:42 -0700)
committerDon Armstrong <don@donarmstrong.com>
Sun, 9 Apr 2017 23:42:13 +0000 (16:42 -0700)
bugscan

diff --git a/bugscan b/bugscan
index e9478f01326375553a9e292ede4119b3aff5d8f4..555eb4c6ef6232d3c542ecbe12e45b648e408940 100755 (executable)
--- a/bugscan
+++ b/bugscan
@@ -33,7 +33,7 @@ for my $p (keys %scanlib::packagelist) {
        }
        print "package\n";
        print $p, "\n";
-       print $section, "\n";
+       print $section, "\n" if defined $section;
        print $scanlib::maintainer{$package}, "\n";
        print "\n";
 }