diff options
| author | ivan <ivan> | 2011-04-19 00:23:57 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2011-04-19 00:23:57 +0000 |
| commit | 71449abb58df547f3c872cd64af733e6d3fa7f81 (patch) | |
| tree | 03c452d9d68db46f43a0833fcd64a209b320b988 /rt/bin/rt-mailgate | |
| parent | 96d552cc782670bfd48b7e6a81ffe3515dffd3e6 (diff) | |
landing 3.8.10 on 2.1 branch
Diffstat (limited to 'rt/bin/rt-mailgate')
| -rwxr-xr-x | rt/bin/rt-mailgate | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rt/bin/rt-mailgate b/rt/bin/rt-mailgate index 7ffa7661a..b552c21da 100755 --- a/rt/bin/rt-mailgate +++ b/rt/bin/rt-mailgate @@ -1,4 +1,4 @@ -#!/usr/bin/perl +#!/usr/bin/perl -w # BEGIN BPS TAGGED BLOCK {{{ # # COPYRIGHT: @@ -186,7 +186,7 @@ sub write_down_message { print STDERR "$0: Couldn't create temp file, using memory\n"; print STDERR "error: $@\n" if $@; - my $message = \do { local (@ARGV, $/); <> }; + my $message = \do { local (@ARGV, $/); <STDIN> }; unless ( $$message =~ /\S/ ) { print STDERR "$0: no message passed on STDIN\n"; exit 0; |
