]> git.donarmstrong.com Git - debbugs.git/commitdiff
complain about bounces without using quit()
authorDon Armstrong <don@donarmstrong.com>
Tue, 12 Feb 2008 20:35:23 +0000 (12:35 -0800)
committerDon Armstrong <don@donarmstrong.com>
Tue, 12 Feb 2008 20:35:23 +0000 (12:35 -0800)
scripts/process.in

index 7c3a6f6e7832ef7cc95111c4485b86789ac9f884..38a7a32c404f6230600932261d7476f9fa48ee4a 100755 (executable)
@@ -262,8 +262,9 @@ if ($codeletter eq 'D' || $codeletter eq 'F')
 {
     if ($replyto =~ m/$gBounceFroms/o ||
         $header{'from'} =~ m/$gBounceFroms/o)
-    { 
-        &quit("bounce detected !  Mwaap! Mwaap!"); 
+    {
+        print STDERR "bounce detected !  Mwaap! Mwaap!";
+        exit 1;
     }
     my $markedby= $header{'from'} eq $replyto ? $replyto :
                "$header{'from'} (reply to $replyto)";