just pasted the logger command in instead of wrapping it in popen
Skyweave Test, Lint, and Deploy Ritual / Test and Lint Code (push) Successful in 28s
Skyweave Test, Lint, and Deploy Ritual / Deploy to Roof Unit (push) Successful in 17s

This commit is contained in:
wes
2025-06-29 10:20:56 -04:00
parent d83c16d6c3
commit fa793c1c1a
+1 -1
View File
@@ -275,7 +275,7 @@ function utils.get_gateway_for_interface(interface_name)
-- We shall not suffer an unsanctioned interface name to proceed.
if not interface_name or (interface_name ~= "wwan0" and interface_name ~= "vif-sta0") then
-- Log the transgression and reject the impure input.
logger -t GHI-UTILS "Rejected unsanctified interface name: " .. tostring(interface_name)
os.execute('logger -t GHI-UTILS "Rejected unsanctified interface name: ' .. tostring(interface_name) .. '"')
return nil
end