summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig/share/dialog.subr
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2012-12-21 19:26:17 +0000
committerdteske <dteske@FreeBSD.org>2012-12-21 19:26:17 +0000
commit10fd5103d05e0e84415fd9b26eebe9c98c8880fc (patch)
treed18d863cf5690553d6d8e68efe62f69a60817d61 /usr.sbin/bsdconfig/share/dialog.subr
parent1906ac57cd7e750371015d64e4b50a2807c3ec75 (diff)
downloadFreeBSD-src-10fd5103d05e0e84415fd9b26eebe9c98c8880fc.zip
FreeBSD-src-10fd5103d05e0e84415fd9b26eebe9c98c8880fc.tar.gz
Improve the debugging abilities and clean up debug messages. In most cases,
all one has to do is set the environment variable DEBUGGING to get the debug messages to appear on the console.
Diffstat (limited to 'usr.sbin/bsdconfig/share/dialog.subr')
-rw-r--r--usr.sbin/bsdconfig/share/dialog.subr2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/bsdconfig/share/dialog.subr b/usr.sbin/bsdconfig/share/dialog.subr
index 4f45817..6a6bd45 100644
--- a/usr.sbin/bsdconfig/share/dialog.subr
+++ b/usr.sbin/bsdconfig/share/dialog.subr
@@ -42,7 +42,7 @@ f_include_lang $BSDCFG_LIBE/include/messages.subr
# execution of dialog from within a sub-shell (so-long as its standard output
# is explicitly redirected to this file descriptor).
#
-: ${DIALOG_TERMINAL_PASSTHRU_FD:=3}
+: ${DIALOG_TERMINAL_PASSTHRU_FD:=${TERMINAL_STDOUT_PASSTHRU:-3}}
############################################################ GLOBALS
OpenPOWER on IntegriCloud