X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=scripts%2Fservice;h=9debab2694eb76c77a76f403bd70581e64292dc3;hb=refs%2Fheads%2Fdon%2Fjson_support;hp=4d20051f332b55437eb6060b7f71b8dcf3166751;hpb=76710dc24f220a16011b2d5c6e5afb5b140fd85c;p=debbugs.git diff --git a/scripts/service b/scripts/service index 4d20051..9debab2 100755 --- a/scripts/service +++ b/scripts/service @@ -7,6 +7,9 @@ use warnings; use strict; +use locale; +use POSIX qw(strftime locale_h); +setlocale(LC_TIME, "C"); use Debbugs::Config qw(:globals :config); @@ -473,11 +476,13 @@ END transcript => $transcript, debug => $debug, ok => \$ok, + replyto => $replyto, ); if ($terminate_control) { last; } } else { + print {$transcript} "Unknown command or malformed arguments to command.\n"; $errors++; if (++$unknowns >= 5) { print {$transcript} "Too many unknown commands, stopping here.\n\n";