summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakconnect2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect
index 82c7af43c..38ce3e4a6 100755
--- a/perl-install/standalone/drakconnect
+++ b/perl-install/standalone/drakconnect
@@ -60,7 +60,7 @@ MDK::Common::Globals::init(
connect_prog => "/etc/sysconfig/network-scripts/net_cnx_pg"
);
-$::isEmbedded && ref($in) =~ /gtk/ or goto dd;
+($::isEmbedded || /--gui/) && ref($in) =~ /gtk/ or goto dd;
require ugtk2;
ugtk2->import(qw(:create :dialogs :helpers :wrappers));