summaryrefslogtreecommitdiffstats
path: root/helper
diff options
context:
space:
mode:
authorChristian Rößler2014-03-21 15:01:32 +0100
committerChristian Rößler2014-03-21 15:01:32 +0100
commit52c75b7e40c9655495418c0c776bafefd75bc458 (patch)
tree9e039681bdae94718afaca510f53a46d91908cfb /helper
parent[chroot.inc] Added parameter to bind-remount (diff)
downloadtm-scripts-52c75b7e40c9655495418c0c776bafefd75bc458.tar.gz
tm-scripts-52c75b7e40c9655495418c0c776bafefd75bc458.tar.xz
tm-scripts-52c75b7e40c9655495418c0c776bafefd75bc458.zip
[logging.inc, chroot.inc] Some redirections for debugging within a chroot
Diffstat (limited to 'helper')
-rw-r--r--helper/logging.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/helper/logging.inc b/helper/logging.inc
index eb20775c..8b102d4c 100644
--- a/helper/logging.inc
+++ b/helper/logging.inc
@@ -10,6 +10,8 @@ LOG_DIR=${ROOT_DIR}/logs
mkdir -p "$LOG_DIR"
+exec 8>&0 # This redirection is used for chroot debugging
+
set_quiet () {
if [ "x$MLTK_QUIET" != "x1" ]; then
exec 6>&1 > "$LOG_DIR/stdout.log"