summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/network/connection_manager.pm1
1 files changed, 1 insertions, 0 deletions
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;