From 5a2d9e3b4b867fac5c6dabedecc70a3bde328902 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 27 Jun 2017 20:18:21 +0100 Subject: [PATCH] Only return output from exim when a pipe command fails --- cookbooks/exim/templates/default/exim4.conf.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -%> -- 2.39.5