summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/network/connection/cellular_card.pm2
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) {