summaryrefslogtreecommitdiffstats
path: root/bin/drakconnect
diff options
context:
space:
mode:
Diffstat (limited to 'bin/drakconnect')
-rwxr-xr-xbin/drakconnect4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/drakconnect b/bin/drakconnect
index dcb4e0c..4f58840 100755
--- a/bin/drakconnect
+++ b/bin/drakconnect
@@ -31,8 +31,10 @@ use common;
use network::network;
use modules;
+require_root_capability();
+
$ugtk2::wm_icon = "drakconnect";
-my $in = 'interactive'->vnew('su');
+my $in = 'interactive'->vnew;
my $net = {};
network::network::read_net_conf($net);