summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Send
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Send')
-rw-r--r--Bugzilla/Send/Sendmail.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Send/Sendmail.pm b/Bugzilla/Send/Sendmail.pm
index 9513134f4..0c3cfe9e4 100644
--- a/Bugzilla/Send/Sendmail.pm
+++ b/Bugzilla/Send/Sendmail.pm
@@ -29,7 +29,7 @@ sub send {
my $pipe = gensym;
- open($pipe, "| $mailer -t -oi @args")
+ open($pipe, '|-', "$mailer -t -oi @args")
|| return failure "Error executing $mailer: $!";
print($pipe $message->as_string)
|| return failure "Error printing via pipe to $mailer: $!";