diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-05-23 09:17:44 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-05-23 09:17:44 +0000 |
commit | f847f9ca97199b12fc715e226801118aae7b699b (patch) | |
tree | 99b6f5ef6274dcb15ec0d19592176e8f3b3bc167 /lib | |
parent | f8956ac1a424c08319cff57d7d327126fdc36ef3 (diff) | |
download | drakx-net-f847f9ca97199b12fc715e226801118aae7b699b.tar drakx-net-f847f9ca97199b12fc715e226801118aae7b699b.tar.gz drakx-net-f847f9ca97199b12fc715e226801118aae7b699b.tar.bz2 drakx-net-f847f9ca97199b12fc715e226801118aae7b699b.tar.xz drakx-net-f847f9ca97199b12fc715e226801118aae7b699b.zip |
fix checking for SIM card (adapt to latest comgt output)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/network/connection/cellular_card.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/connection/cellular_card.pm b/lib/network/connection/cellular_card.pm index 4e5742e..5fe2ee9 100644 --- a/lib/network/connection/cellular_card.pm +++ b/lib/network/connection/cellular_card.pm @@ -198,7 +198,7 @@ sub configure_hardware { local $_; my $rv = sysread($cmd_out, $_, 512); $rv == 0 and $selector->remove($cmd_out); - if (/^\*\*\*SIM ERROR\*\*\*/m) { + if (/^\s*\*\*\*SIM ERROR\*\*\*/m) { $self->{hardware}{error} = N("Please check that your SIM card is inserted."); last; } elsif (/^Enter PIN number:/m) { |