[Rt-commit] [svn] r1349 - rt/branches/3.2-RELEASE/bin
alexmv at pallas.eruditorum.org
alexmv at pallas.eruditorum.org
Wed Aug 18 16:38:09 EDT 2004
Author: alexmv
Date: Wed Aug 18 16:38:09 2004
New Revision: 1349
Modified:
rt/branches/3.2-RELEASE/bin/rt-mailgate.in
Log:
RT-Ticket: 5963
RT-Update: correspond
RT-Status: resolved
* Some mailers care about the return value rt-mailgate; 'return 0'
instead of 'die' to ensure that we fake success
Modified: rt/branches/3.2-RELEASE/bin/rt-mailgate.in
==============================================================================
--- rt/branches/3.2-RELEASE/bin/rt-mailgate.in (original)
+++ rt/branches/3.2-RELEASE/bin/rt-mailgate.in Wed Aug 18 16:38:09 2004
@@ -459,7 +459,8 @@
$args{'message'} = <>;
unless ( $args{message} =~ /\S/ ) {
- die "$0: no message passed on STDIN!\n";
+ print STDERR "$0: no message passed on STDIN!\n";
+ exit 0;
}
if ($opts{'extension'}) {
More information about the Rt-commit
mailing list