From cc258dd2a765f1845589881d61b012512ef7030e Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 24 Jan 2019 08:28:22 -0800 Subject: Redirect stderr too --- sendmail | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sendmail') 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 -- cgit v1.2.3