diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-11-16 15:36:33 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-11-16 15:36:33 +0000 |
commit | 66dd827e6f1c7133956b46b8c2b1e910534b629c (patch) | |
tree | 15ad3d4986d43fa1b6479a041b658a4cbb59eed2 | |
parent | c478bcbf041cca370e1d13e4833b748d4f5525c3 (diff) | |
download | drakx-66dd827e6f1c7133956b46b8c2b1e910534b629c.tar drakx-66dd827e6f1c7133956b46b8c2b1e910534b629c.tar.gz drakx-66dd827e6f1c7133956b46b8c2b1e910534b629c.tar.bz2 drakx-66dd827e6f1c7133956b46b8c2b1e910534b629c.tar.xz drakx-66dd827e6f1c7133956b46b8c2b1e910534b629c.zip |
don't crash if mandi isn't started
-rwxr-xr-x | perl-install/standalone/drakroam | 5 |
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; |