Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Fix unbound variable error in temperature proxy installation

rcourtman438d3b6b7be7
diff --git a/install.sh b/install.sh
index 28ede5173d..d67a6d845e 100755
--- a/install.sh
+++ b/install.sh
@@ -1407,8 +1407,9 @@ fi'; then
# If building from source, copy the binary from the LXC instead of downloading
local proxy_install_args=(--ctid "$CTID" --skip-restart)
+ local local_proxy_binary=""
if [[ "$BUILD_FROM_SOURCE" == "true" ]]; then
- local local_proxy_binary="/tmp/pulse-sensor-proxy-$CTID"
+ local_proxy_binary="/tmp/pulse-sensor-proxy-$CTID"
print_info "Copying locally-built pulse-sensor-proxy binary from container..."
if pct pull $CTID /opt/pulse/bin/pulse-sensor-proxy "$local_proxy_binary" 2>/dev/null; then
proxy_install_args=(--ctid "$CTID" --local-binary "$local_proxy_binary" --skip-restart)