aboutsummaryrefslogtreecommitdiff
path: root/paludis/environments/paludis/output_managers
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/environments/paludis/output_managers')
-rw-r--r--paludis/environments/paludis/output_managers/Makefile.am1
-rw-r--r--paludis/environments/paludis/output_managers/standard_on_failure.conf6
2 files changed, 7 insertions, 0 deletions
diff --git a/paludis/environments/paludis/output_managers/Makefile.am b/paludis/environments/paludis/output_managers/Makefile.am
index b2fdadb..46cf87b 100644
--- a/paludis/environments/paludis/output_managers/Makefile.am
+++ b/paludis/environments/paludis/output_managers/Makefile.am
@@ -15,6 +15,7 @@ dist_shareenvpaludis_DATA = \
logged.conf \
quiet.conf \
standard.conf \
+ standard_on_failure.conf \
keep_messages.part.conf \
keep_stdout_as_messages.part.conf \
logged_only.part.conf \
diff --git a/paludis/environments/paludis/output_managers/standard_on_failure.conf b/paludis/environments/paludis/output_managers/standard_on_failure.conf
new file mode 100644
index 0000000..f6dd6e0
--- /dev/null
+++ b/paludis/environments/paludis/output_managers/standard_on_failure.conf
@@ -0,0 +1,6 @@
+# This handler saves up output (in memory, so don't use it for big processes)
+# and displays it to standard only if an error occurs.
+
+handler = forward_on_failure
+child = standard
+