]> git.openstreetmap.org Git - chef.git/commitdiff
Only return output from exim when a pipe command fails
authorTom Hughes <tom@compton.nu>
Tue, 27 Jun 2017 19:18:21 +0000 (20:18 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 27 Jun 2017 19:18:21 +0000 (20:18 +0100)
cookbooks/exim/templates/default/exim4.conf.erb

index 555fbbd9956163b505bf62fb5f0a5a64d3e012f9..530b105d43a7daf06f1431b49b702602bd201d46 100644 (file)
@@ -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] -%>