summaryrefslogtreecommitdiff
path: root/sendmail
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-01-24 08:28:22 -0800
committerBen Sima <ben@bsima.me>2019-01-24 08:28:22 -0800
commitcc258dd2a765f1845589881d61b012512ef7030e (patch)
tree945de16ed2de7be949f041b1a47056eae4a8dc42 /sendmail
parent0a96d4a7eb89c23488ea945281ca7e75124cb64d (diff)
Redirect stderr too
Diffstat (limited to 'sendmail')
-rwxr-xr-xsendmail2
1 files changed, 1 insertions, 1 deletions
diff --git a/sendmail b/sendmail
index 9c92c26..ba920b8 100755
--- a/sendmail
+++ b/sendmail
@@ -1,6 +1,6 @@
#! /usr/bin/env sh
## pass all params to msmtpq & redirect output
-msmtpq "$@" >> ~/tmp/msmtp.log
+msmtpq "$@" >> ~/tmp/msmtp.log 2> ~/tmp/msmtp.err
exit 0