diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-03-14 19:26:28 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-03-14 19:26:28 +0000 |
commit | 9fda1294ea838b5a9ca73a224b1d361d3e92f5fd (patch) | |
tree | f3919f18e224a5168b26bbc70004170b807ba4dc /lib | |
parent | 80a65a9f52450a504d52836b23976afe9d230b25 (diff) | |
download | drakx-net-9fda1294ea838b5a9ca73a224b1d361d3e92f5fd.tar drakx-net-9fda1294ea838b5a9ca73a224b1d361d3e92f5fd.tar.gz drakx-net-9fda1294ea838b5a9ca73a224b1d361d3e92f5fd.tar.bz2 drakx-net-9fda1294ea838b5a9ca73a224b1d361d3e92f5fd.tar.xz drakx-net-9fda1294ea838b5a9ca73a224b1d361d3e92f5fd.zip |
do not check connection setup again if first time failed (update_networks will check it as well)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/connection_manager.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm index 0ea65ee..3a28c33 100644 --- a/lib/network/connection_manager.pm +++ b/lib/network/connection_manager.pm @@ -115,7 +115,7 @@ sub configure_connection { my ($cmanager) = @_; if (!$cmanager->check_setup) { - $cmanager->setup_connection; + $cmanager->setup_connection or return; $cmanager->update_networks if $cmanager->{connection}->can('get_networks'); $cmanager->update_on_status_change; return; |