summaryrefslogtreecommitdiffstats
path: root/bin/drakconnect-old
diff options
context:
space:
mode:
Diffstat (limited to 'bin/drakconnect-old')
-rwxr-xr-xbin/drakconnect-old4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/drakconnect-old b/bin/drakconnect-old
index 41aaed9..e53ffe8 100755
--- a/bin/drakconnect-old
+++ b/bin/drakconnect-old
@@ -33,8 +33,10 @@ use mygtk2 qw(gtknew);
use network::netconnect;
use network::connection::ethernet;
+require_root_capability();
+
$ugtk2::wm_icon = "drakconnect";
-my $in = 'interactive'->vnew('su');
+my $in = 'interactive'->vnew;
my $net = {};
network::network::read_net_conf($net);