From 76783051a4ba69fe0b2e7943fa0365c06c716177 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 24 Aug 2012 21:07:45 +0000 Subject: prevent running internal text mode UI in graphical mode (mga#7161) --- drakxconf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drakxconf') 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'; -- cgit v1.2.1