Fix yet more warnings.
[bugscan.git] / scanlib.pm
index 2b905c4..82ad6cf 100644 (file)
@@ -297,6 +297,7 @@ sub readstatus() {
                        push @{$packagelist{$pkg}}, $bug;
                } else {
                        ($pkg,$sect, $mnt)=split(/ /, $_, 3);
+                       next if (!defined($pkg));
                        $section{$pkg}=$sect;
                        $maintainer{$pkg}=$mnt;
                }