]> git.donarmstrong.com Git - debbugs.git/commitdiff
[project @ 2000-10-03 19:26:51 by ajt]
authorajt <>
Wed, 4 Oct 2000 02:26:51 +0000 (18:26 -0800)
committerajt <>
Wed, 4 Oct 2000 02:26:51 +0000 (18:26 -0800)
Cope with misformatted Maintainer files quietly rather than dying randomly

cgi/common.pl

index fdf8e68f04560779ce4c0b4d1d5ddf71c41327da..3a6753cf8f25bb213ccb5eee665d8050d59161a7 100644 (file)
@@ -291,7 +291,7 @@ sub getmaintainers {
 
     open(MM,"$gMaintainerFile") or &quit("open $gMaintainerFile: $!");
     while(<MM>) {
-       m/^(\S+)\s+(\S.*\S)\s*$/ or &quit("$gMaintainerFile: \`$_'");
+       next unless m/^(\S+)\s+(\S.*\S)\s*$/;
        ($a,$b)=($1,$2);
        $a =~ y/A-Z/a-z/;
        $maintainer{$a}= $b;