diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-09-04 18:12:46 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-09-04 18:12:46 +0000 |
commit | c4054df9e3a526a5e26f525f6b6aff172d18c400 (patch) | |
tree | 8a5bc479c3b8c6e81f5c15f80de54d1831d2e2f0 | |
parent | 81c51f25c9d99546175d08b68aafff424df1bb26 (diff) | |
download | drakx-net-c4054df9e3a526a5e26f525f6b6aff172d18c400.tar drakx-net-c4054df9e3a526a5e26f525f6b6aff172d18c400.tar.gz drakx-net-c4054df9e3a526a5e26f525f6b6aff172d18c400.tar.bz2 drakx-net-c4054df9e3a526a5e26f525f6b6aff172d18c400.tar.xz drakx-net-c4054df9e3a526a5e26f525f6b6aff172d18c400.zip |
(check_setup) fix a crash (mga#6847)
it would be better to make button insensitive until a network is
selected though...
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | lib/network/connection_manager.pm | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -1,3 +1,4 @@ +- drakroam: fix a crash (mga#6847) - use chroot's /etc/resolv.conf if stage1 didn't write any (Derek Jennings, mga#5772) - wait for network to show up the same way as in the installer diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm index 535e278..e3f91bd 100644 --- a/lib/network/connection_manager.pm +++ b/lib/network/connection_manager.pm @@ -125,6 +125,7 @@ sub write_settings { sub configure_connection { my ($cmanager) = @_; + return if !ref($cmanager->{connection}); if (!$cmanager->check_setup) { $cmanager->setup_connection or return; |