From 2199edf895029fb65072d0a1ddbdc608dd770a2f Mon Sep 17 00:00:00 2001 From: Xavier Delaruelle Date: Fri, 1 Oct 2021 06:57:28 +0200 Subject: [PATCH] Add redirect_output configuration option Add redirect_output configuration option that controls whether or not the output of module command should be redirected from stderr to stdout. Enabled by default. When configuration is modified it sets the MODULES_REDIRECT_OUTPUT environment variable. --- tcl/init.tcl.in | 1 + 1 file changed, 1 insertion(+) diff --git a/tcl/init.tcl.in b/tcl/init.tcl.in index dc618882..a46300b5 100644 --- a/tcl/init.tcl.in +++ b/tcl/init.tcl.in @@ -93,6 +93,7 @@ array set g_config_defs [list\ 0 {0 365} {} {} intbe}\ pager {MODULES_PAGER {@pagercmd@} 0}\ rcfile {MODULERCFILE 0}\ + redirect_output {MODULES_REDIRECT_OUTPUT 1 0 {0 1}}\ quarantine_support {MODULES_QUARANTINE_SUPPORT @quarantinesupport@ 0 {0\ 1}}\ run_quarantine {MODULES_RUN_QUARANTINE 0}\