diff options
Diffstat (limited to 'lib/network/monitor.pm')
-rw-r--r-- | lib/network/monitor.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/network/monitor.pm b/lib/network/monitor.pm index d8fb258..b1dc9ac 100644 --- a/lib/network/monitor.pm +++ b/lib/network/monitor.pm @@ -28,7 +28,7 @@ sub list_wireless { if (!$has_roaming && !$>) { $results = `$::prefix/usr/sbin/wpa_cli scan_results 2>/dev/null`; $list = `$::prefix/usr/sbin/wpa_cli list_networks 2>/dev/null`; - $_ =~ s/^Selected interface (.*)\n//g foreach $results, $list; + s/^Selected interface (.*)\n//g foreach $results, $list; } if ($results && $list) { #- bssid / frequency / signal level / flags / ssid |