aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xscript/mailin2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/mailin b/script/mailin
index 4a6729591..738034c26 100755
--- a/script/mailin
+++ b/script/mailin
@@ -13,7 +13,7 @@ source commonlib/shlib/deployfns
read_conf config/general
-cat $INPUT | ./script/runner 'RequestMailer.receive(STDIN.read)' >$OUTPUT 2>$OUTPUT
+(cat $INPUT | ./script/runner 'RequestMailer.receive(STDIN.read)') >$OUTPUT 2>&1
ERROR_CODE=$?
if [ ! "$ERROR_CODE" = "0" ]
then