Revert "Return early during v6 migration if migration dir exists" (#5768)

This commit is contained in:
yubiuser 2024-09-14 07:04:47 +02:00 committed by GitHub
commit b1acea33a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2146,8 +2146,8 @@ migrate_dnsmasq_configs() {
# avoid conflicts with other services on this system
# Exit early if this is already Pi-hole v6.0
# We decide this on the presence of the migration dir
if [[ -d "${V6_CONF_MIGRATION_DIR}" ]]; then
# We decide this on the presence of the file /etc/pihole/pihole.toml
if [[ -f /etc/pihole/pihole.toml ]]; then
return 0
fi