Unset config variables before loading config to prevent environment pollution

This commit is contained in:
Mărcziem ™
2025-10-03 09:30:01 +02:00
parent 1c2dbe22a1
commit 34f45f978c

View File

@@ -499,6 +499,9 @@ main() {
check_system_requirements check_system_requirements
get_system_info get_system_info
# Unset any existing config variables to ensure clean state
unset INSTALL_DOCKER INSTALL_NFS INSTALL_NETDATA INSTALL_VAULTWARDEN INSTALL_JELLYFIN INSTALL_PORTAINER INSTALL_WEBMIN CONFIGURE_STATIC_IP SSH_PORT ADMIN_USER
# Configuration # Configuration
load_or_create_config load_or_create_config