Fix NA UPS values by moving upsConnection scope to parent function (resolves #141) (#142)

This commit is contained in:
Stefano Stella 2025-10-11 09:43:22 +02:00 committed by GitHub
parent b2bf77dad3
commit 6a27678594
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -123,7 +123,6 @@ function configure {
local sanitisedSensorsOutput
local upsOutput
local modelName
local upsConnection
install_packages
@ -379,6 +378,7 @@ function configure {
# Function to install the modification
function install_mod {
local upsConnection
msgb "\n=== Preparing mod installation ==="
check_root_privileges
check_mod_installation