This commit was generated by cvs2svn to compensate for changes in r11022,
[freeside.git] / rt / bin / rt-mailgate.in
index c1a57cb..10db6ad 100644 (file)
@@ -1,4 +1,4 @@
-#!@PERL@ -w
+#!@PERL@
 # 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, $/); <STDIN> };
+        my $message = \do { local (@ARGV, $/); <> };
         unless ( $$message =~ /\S/ ) {
             print STDERR "$0: no message passed on STDIN\n";
             exit 0;