summaryrefslogtreecommitdiffstats
path: root/lib/network/connection
diff options
context:
space:
mode:
authorShlomi Fish <shlomif@shlomifish.org>2015-07-12 21:00:10 +0300
committerShlomi Fish <shlomif@shlomifish.org>2015-07-12 21:00:10 +0300
commitdc039cb73a2e1338205b3405167177daa8fe3168 (patch)
tree8551b5be694aeb76d8c0d75f8c235225f98d7950 /lib/network/connection
parentb1206d573adbae53db14b56a40a37aaa5503adcb (diff)
downloaddrakx-net-dc039cb73a2e1338205b3405167177daa8fe3168.tar
drakx-net-dc039cb73a2e1338205b3405167177daa8fe3168.tar.gz
drakx-net-dc039cb73a2e1338205b3405167177daa8fe3168.tar.bz2
drakx-net-dc039cb73a2e1338205b3405167177daa8fe3168.tar.xz
drakx-net-dc039cb73a2e1338205b3405167177daa8fe3168.zip
Fix unescaped left brace warning
Diffstat (limited to 'lib/network/connection')
-rw-r--r--lib/network/connection/wireless.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/network/connection/wireless.pm b/lib/network/connection/wireless.pm
index b56279b..3e28516 100644
--- a/lib/network/connection/wireless.pm
+++ b/lib/network/connection/wireless.pm
@@ -978,7 +978,7 @@ sub wpa_supplicant_read_conf() {
push @conf, $network;
undef $network;
}
- } elsif (/^\s*network={/) {
+ } elsif (/^\s*network=\{/) {
#- beginning of a new network block
$network = {};
}
@@ -1028,7 +1028,7 @@ sub wpa_supplicant_write_conf {
push @{$network->{entries}}, { comment => $_ };
}
} else {
- if (/^\s*network={/) {
+ if (/^\s*network=\{/) {
#- beginning of a new network block
$network = {};
} else {