diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-05-02 14:14:31 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-05-02 14:14:31 +0000 |
commit | 8bd6e48a50110601902530c5fd45bb5d64c03509 (patch) | |
tree | 972f3efd076f99bb7ea41091839e1bcd22eb5e59 /lib/network/monitor.pm | |
parent | f821d6bde3681764bebc835a9a8d381b2a1259fb (diff) | |
download | drakx-net-8bd6e48a50110601902530c5fd45bb5d64c03509.tar drakx-net-8bd6e48a50110601902530c5fd45bb5d64c03509.tar.gz drakx-net-8bd6e48a50110601902530c5fd45bb5d64c03509.tar.bz2 drakx-net-8bd6e48a50110601902530c5fd45bb5d64c03509.tar.xz drakx-net-8bd6e48a50110601902530c5fd45bb5d64c03509.zip |
do not try to use mandi if not available
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 9f5e302..1754d89 100644 --- a/lib/network/monitor.pm +++ b/lib/network/monitor.pm @@ -23,7 +23,7 @@ sub list_wireless { $results = $monitor->call_method('ScanResults'); $list = $monitor->call_method('ListNetworks'); $has_roaming = 1; - }; + } if $monitor; #- try wpa_cli if we're root if (!$has_roaming && !$>) { $results = `/usr/sbin/wpa_cli scan_results 2>/dev/null`; |