summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/network/connection_manager.pm2
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;