summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/draknetcenter4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/draknetcenter b/bin/draknetcenter
index 7da798c..b508da5 100755
--- a/bin/draknetcenter
+++ b/bin/draknetcenter
@@ -16,5 +16,7 @@ use network::netcenter;
my $in = 'interactive'->vnew('su');
my $net = {};
network::network::read_net_conf($net);
+my $dbus;
+eval { $dbus = dbus_object::system_bus() };
-network::netcenter::main($in, $net);
+network::netcenter::main($in, $net, $dbus);