From: Don Armstrong Date: Sun, 9 Apr 2017 23:42:13 +0000 (-0700) Subject: skip section if it is not defined X-Git-Url: https://git.donarmstrong.com/?p=bugscan.git;a=commitdiff_plain;h=aa080dc8491e025719f74bd80a0f6aa5dd27f79b;ds=sidebyside skip section if it is not defined --- diff --git a/bugscan b/bugscan index e9478f0..555eb4c 100755 --- 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"; }