summaryrefslogtreecommitdiffstats
path: root/perl-install/network/network.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/network/network.pm')
-rw-r--r--perl-install/network/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm
index 8d79c106d..eb12ba63a 100644
--- a/perl-install/network/network.pm
+++ b/perl-install/network/network.pm
@@ -556,7 +556,7 @@ sub wpa_supplicant_add_network {
if (/^\s*(\w+)=(.*?)(\s*#.*)?$/) {
push @{$network{entries}}, { key => $1, value => $2, comment => $3 };
$1 eq 'ssid' and $network{ssid} = $2;
- } elsif (/^·*\}/) {
+ } elsif (/^\}/) {
#- end of network block, write it
$s .= "network={$network{comment}\n";
my $update = $network{ssid} eq $new_network->{ssid};