summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdconfig
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2013-07-09 22:01:05 +0000
committerdteske <dteske@FreeBSD.org>2013-07-09 22:01:05 +0000
commitf9fcf9e38c79a8358aef2e8ac4bd2eff6be1b526 (patch)
treecef45dd7a42ea6082ceae670232b8c88f2e30d14 /usr.sbin/bsdconfig
parent975d3a2ca7459e971969282e7a6a98264cfd7db3 (diff)
downloadFreeBSD-src-f9fcf9e38c79a8358aef2e8ac4bd2eff6be1b526.zip
FreeBSD-src-f9fcf9e38c79a8358aef2e8ac4bd2eff6be1b526.tar.gz
Fix conditional (der should match the comment above it).
MFC after: 1 day
Diffstat (limited to 'usr.sbin/bsdconfig')
-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 b2150d1..c6f2678 100644
--- a/usr.sbin/bsdconfig/share/dialog.subr
+++ b/usr.sbin/bsdconfig/share/dialog.subr
@@ -2090,7 +2090,7 @@ f_dialog_init()
#
# Read ~/.dialogrc (unless using Xdialog(1)) for properties
#
- if [ -f ~/.dialogrc ]; then
+ if [ -f ~/.dialogrc -a ! "$USE_XDIALOG" ]; then
eval "$(
awk -v param=use_shadow -v expect=OFF \
-v set="NO_SHADOW=1" '
OpenPOWER on IntegriCloud