fix: pihole-exporter: unknown function (#10249)

This commit is contained in:
Tobias
2025-12-23 14:29:13 +01:00
committed by GitHub
parent 94d12ff1aa
commit f02e25182b
+2 -2
View File
@@ -24,7 +24,7 @@ INSTALL_PATH="/opt/pihole-exporter"
CONFIG_PATH="/opt/pihole-exporter.env" CONFIG_PATH="/opt/pihole-exporter.env"
header_info header_info
ensure_usr_local_bin_persist ensure_usr_local_bin_persist
get_current_ip &>/dev/null import_local_ip
# ============================================================================== # ==============================================================================
# OS DETECTION # OS DETECTION
@@ -195,7 +195,7 @@ UPDATEEOF
# ============================================================================== # ==============================================================================
header_info header_info
ensure_usr_local_bin_persist ensure_usr_local_bin_persist
get_current_ip &>/dev/null import_local_ip
# Handle type=update (called from update script) # Handle type=update (called from update script)
if [[ "${type:-}" == "update" ]]; then if [[ "${type:-}" == "update" ]]; then