fix: wg-dashboard.ini is being overwritten every time Docker starts

pull/1165/head
Artem 2026-03-13 20:42:55 +03:00 committed by GitHub
parent eeedf705aa
commit 4bda985440
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -170,6 +170,9 @@ set_envvars() {
# Check if config file is empty
if [ ! -s "${config_file}" ]; then
echo "Config file is empty. Creating initial structure."
else
echo "Skip creating config file."
return 0
fi
echo "Checking basic configuration:"