diff options
| author | ivan <ivan> | 2011-04-18 23:49:54 +0000 |
|---|---|---|
| committer | ivan <ivan> | 2011-04-18 23:49:54 +0000 |
| commit | 01f60974743197ac14e569c16c68a0c2ff3a5bd4 (patch) | |
| tree | 140ae6bfc2a89a2b635c81859a74eff5587ef71a /rt/bin/rt-mailgate | |
| parent | b5c4237a34aef94976bc343c8d9e138664fc3984 (diff) | |
commiting rt 3.8.10 to HEAD
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 9227a6ee6..de0529d84 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; |
