summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rwxr-xr-xperl-install/standalone/drakroam5
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/standalone/drakroam b/perl-install/standalone/drakroam
index 19a40f57e..f428a0164 100755
--- a/perl-install/standalone/drakroam
+++ b/perl-install/standalone/drakroam
@@ -53,8 +53,9 @@ my $wireless_list = Gtk2::SimpleList->new(
);
$wireless_list->get_selection->set_mode('single');
-my $dbus = dbus_object::system_bus();
-my $monitor = network::monitor->new($dbus);
+my ($dbus, $monitor);
+eval { $dbus = dbus_object::system_bus() };
+eval { $monitor = network::monitor->new($dbus) } if $dbus;
my $wireless_networks = {};
my $has_roaming;