Fix Samba user reference to use ADMIN_USER instead of NEW_USER

- Corrected setup_samba function to use ${ADMIN_USER:-$USER} consistently
- Export configuration variables in load_or_create_config for subshell access
- Ensure ADMIN_USER variable is properly available in all lib scripts
This commit is contained in:
Mărcziem ™
2025-10-03 13:43:55 +02:00
parent c0d6a07cec
commit 3c9fe4017b
3 changed files with 5 additions and 2 deletions

View File

@@ -94,4 +94,4 @@ if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then
# Falls direkt ausgeführt: versuchen wir die Funktion und geben das Ergebnis als Exit-Code zurück.
install_vaultwarden "$@"
exit $?
fi
fi