diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-02-26 17:41:27 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-02-26 17:41:27 +0000 |
commit | 8a9f231a72d757386b2c9626821e95b725096e77 (patch) | |
tree | 48c8b145ab1611f2ea6ada27355d0135c02b9c8b | |
parent | ce4d99ec85301d481fcbac710192d03978011e8a (diff) | |
download | drakx-net-8a9f231a72d757386b2c9626821e95b725096e77.tar drakx-net-8a9f231a72d757386b2c9626821e95b725096e77.tar.gz drakx-net-8a9f231a72d757386b2c9626821e95b725096e77.tar.bz2 drakx-net-8a9f231a72d757386b2c9626821e95b725096e77.tar.xz drakx-net-8a9f231a72d757386b2c9626821e95b725096e77.zip |
remove wait message when displaying device setup error
-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; } |