prometheus-node-exporter-lua: fix broken control flow
Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
This commit is contained in:
parent
81b00bd6ab
commit
093f3443ce
2 changed files with 2 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=prometheus-node-exporter-lua
|
||||
PKG_VERSION:=2021.07.24
|
||||
PKG_VERSION:=2021.09.24
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_MAINTAINER:=Etienne CHAMPETIER <champetier.etienne@gmail.com>
|
||||
|
|
|
@ -19,7 +19,7 @@ local function get_wifi_interface_labels()
|
|||
local bss_idx = -1
|
||||
for line in hostapd_status:gmatch("[^\r\n]+") do
|
||||
local name, value = string.match(line, "(.+)=(.+)")
|
||||
elseif name == "freq" then
|
||||
if name == "freq" then
|
||||
hostapd["freq"] = value
|
||||
elseif name == "channel" then
|
||||
hostapd["channel"] = value
|
||||
|
|
Loading…
Reference in a new issue