Tunneldigger Watchdog: replace operator
This commit is contained in:
parent
03652f5fa2
commit
796d09895a
@ -17,7 +17,7 @@ end
|
|||||||
|
|
||||||
function check_for_mesh_vpn_neighbours()
|
function check_for_mesh_vpn_neighbours()
|
||||||
local handle = io.popen("batctl o", 'r')
|
local handle = io.popen("batctl o", 'r')
|
||||||
if handle~=nil then
|
if not handle then
|
||||||
for line in handle:lines() do
|
for line in handle:lines() do
|
||||||
if line:find('mesh%-vpn') then
|
if line:find('mesh%-vpn') then
|
||||||
handle:close()
|
handle:close()
|
||||||
|
Loading…
Reference in New Issue
Block a user