diff options
Diffstat (limited to 'lib/network/connection_manager.pm')
-rw-r--r-- | lib/network/connection_manager.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/network/connection_manager.pm b/lib/network/connection_manager.pm index 55de3c6..0fc6913 100644 --- a/lib/network/connection_manager.pm +++ b/lib/network/connection_manager.pm @@ -66,8 +66,9 @@ sub setup_connection { }, $cmanager->{connection}->get_hardware_settings) or return; } if ($cmanager->{connection}->can('check_hardware')) { - my $_w = $cmanager->{in}->wait_message('', N("Configuring device...")); + my $wait = $cmanager->{in}->wait_message('', N("Configuring device...")); if (!$cmanager->{connection}->check_hardware) { + undef $wait; $cmanager->{in}->ask_warn(N("Error"), $cmanager->{connection}{hardware}{error}) if $cmanager->{connection}{hardware}{error}; return; } |