From 1ceead418e05bbe6a1b0832ddd29d7010cd8bfcf Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Fri, 22 Aug 2025 08:50:07 +0000 Subject: [PATCH] fix: handle unset UPDATE_CHANNEL variable in download_pulse function Use parameter expansion to prevent 'unbound variable' error when UPDATE_CHANNEL is not set --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 2ac61bd3d..35ee40941 100755 --- a/install.sh +++ b/install.sh @@ -641,7 +641,7 @@ download_pulse() { fi else # UPDATE_CHANNEL should already be set by main(), but set default if not - if [[ -z "${UPDATE_CHANNEL}" ]]; then + if [[ -z "${UPDATE_CHANNEL:-}" ]]; then UPDATE_CHANNEL="stable" # Allow override via command line