From e5a0b434806a05134442c3c112b984f6ee00d7f8 Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Mon, 10 Apr 2023 22:43:00 -0700 Subject: [PATCH] Fix occasional nil error --- files/usr/local/bin/mgr/lqm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/usr/local/bin/mgr/lqm.lua b/files/usr/local/bin/mgr/lqm.lua index 4349d44e..e733fbdf 100755 --- a/files/usr/local/bin/mgr/lqm.lua +++ b/files/usr/local/bin/mgr/lqm.lua @@ -562,7 +562,7 @@ function lqm() end end if track.type == "RF" then - if info.lqm and info.lqm.enabled and info.lqm.info.trackers then + if info.lqm and info.lqm.enabled and info.lqm.info and info.lqm.info.trackers then rflinks[track.mac] = {} for _, rtrack in pairs(info.lqm.info.trackers) do