X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fprocess;h=4c38000121c02e388828aee0374672c5d0abe7a5;hb=refs%2Fheads%2Ftravis-ci;hp=bceb69cb186b4198267ad24014e67bd11b75d9bc;hpb=c04432ba467f7f957835b7264157951787e27f4c;p=debbugs.git diff --git a/scripts/process b/scripts/process index bceb69c..4c38000 100755 --- a/scripts/process +++ b/scripts/process @@ -1070,7 +1070,7 @@ if (@control_bits) { address_only => 1, cc => 1, ); - my $error_text = $errors > 0 ? " (with $errors errors)":''; + my $error_text = $errors > 0 ? " (with $errors error" . ($errors > 1 ? "s" : "") . ")" : ""; my $reply = create_mime_message(['X-Loop' => $gMaintainerEmail, From => "$gMaintainerEmail ($gProject $gBug Tracking System)",