diff options
-rw-r--r-- | package/firewall/files/lib/core.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/firewall/files/lib/core.sh b/package/firewall/files/lib/core.sh index f37b1e6..d0b87a7 100644 --- a/package/firewall/files/lib/core.sh +++ b/package/firewall/files/lib/core.sh @@ -84,7 +84,7 @@ fw_reload() { } fw_is_loaded() { - local bool=$(uci -q -P /var/state get firewall.core.loaded) + local bool=$(uci_get_state firewall.core.loaded) return $((! ${bool:-0})) } |