From: Tom Hughes Date: Tue, 27 Jun 2017 19:18:21 +0000 (+0100) Subject: Only return output from exim when a pipe command fails X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/5a2d9e3b4b867fac5c6dabedecc70a3bde328902 Only return output from exim when a pipe command fails --- diff --git a/cookbooks/exim/templates/default/exim4.conf.erb b/cookbooks/exim/templates/default/exim4.conf.erb index 555fbbd99..530b105d4 100644 --- a/cookbooks/exim/templates/default/exim4.conf.erb +++ b/cookbooks/exim/templates/default/exim4.conf.erb @@ -721,7 +721,7 @@ noreply: command = <%= details[:command] %> home_directory = <%= details[:home_directory] %> path = <%= details[:path] || "/bin:/usr/bin" %> - return_output + return_fail_output <% else -%> driver = appendfile <% if details[:file] -%>