summaryrefslogtreecommitdiffstats
path: root/drakxconf
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-24 21:07:45 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-24 21:07:45 +0000
commit76783051a4ba69fe0b2e7943fa0365c06c716177 (patch)
tree09dc12932bbe620586dde7cf6df5d64e7dabd46e /drakxconf
parent79ba349980e255b3194d3962a0d185c08139d856 (diff)
downloadcontrol-center-76783051a4ba69fe0b2e7943fa0365c06c716177.tar
control-center-76783051a4ba69fe0b2e7943fa0365c06c716177.tar.gz
control-center-76783051a4ba69fe0b2e7943fa0365c06c716177.tar.bz2
control-center-76783051a4ba69fe0b2e7943fa0365c06c716177.tar.xz
control-center-76783051a4ba69fe0b2e7943fa0365c06c716177.zip
prevent running internal text mode UI in graphical mode (mga#7161)
Diffstat (limited to 'drakxconf')
-rwxr-xr-xdrakxconf2
1 files changed, 2 insertions, 0 deletions
diff --git a/drakxconf b/drakxconf
index 616bef6d..fae4fc7c 100755
--- a/drakxconf
+++ b/drakxconf
@@ -12,6 +12,8 @@ use common;
local $_ = join '', @ARGV;
+delete $ENV{DISPLAY};
+
/-h/ and die "usage: drakxconf\n";
/-version/ and die 'version: $Id: drakxconf 254567 2009-03-23 09:22:59Z tv $\n';