diff options
author | Francis Irving <francis@mysociety.org> | 2009-10-30 12:25:57 +0000 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2009-10-30 12:25:57 +0000 |
commit | b8c3a21fe41d0916dcce190fbce1fd6183d4d5e5 (patch) | |
tree | e173236fb3efd9782f9c2984dfe363b42e7010b2 /script | |
parent | 8cd3af0365ed952fd5935935cf088d4f4a498b2f (diff) |
Actually send stderr to the right place, so arrives to admin email
rather than mailerserver.
Diffstat (limited to 'script')
-rwxr-xr-x | script/mailin | 2 |
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 |