From 559bae34a93c94e04ddf87ccdef17eda35921299 Mon Sep 17 00:00:00 2001 From: Jakub Dorfman Date: Wed, 29 Apr 2026 18:56:26 +0200 Subject: [PATCH] fix: reset leftover variables in cmd_list function Co-authored-by: Copilot --- panel/panelctl.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/panel/panelctl.sh b/panel/panelctl.sh index 43d246b..b36ab07 100644 --- a/panel/panelctl.sh +++ b/panel/panelctl.sh @@ -599,6 +599,8 @@ cmd_list() { [[ -e "${mf}" ]] || continue found=1 # shellcheck disable=SC1090 + source /dev/null # reset any leftover variables + unset APP_REPO_URL APP_REPO_BRANCH APP_REPO_DIR 2>/dev/null || true source "${mf}" local domains="${APP_DOMAINS:-${APP_DOMAIN}}" local repo_info="${APP_REPO_URL:-}"