mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-22 06:03:43 +00:00
Revert "Return early during v6 migration if migration dir exists" (#5768)
This commit is contained in:
commit
b1acea33a1
1 changed files with 2 additions and 2 deletions
|
@ -2146,8 +2146,8 @@ migrate_dnsmasq_configs() {
|
||||||
# avoid conflicts with other services on this system
|
# avoid conflicts with other services on this system
|
||||||
|
|
||||||
# Exit early if this is already Pi-hole v6.0
|
# Exit early if this is already Pi-hole v6.0
|
||||||
# We decide this on the presence of the migration dir
|
# We decide this on the presence of the file /etc/pihole/pihole.toml
|
||||||
if [[ -d "${V6_CONF_MIGRATION_DIR}" ]]; then
|
if [[ -f /etc/pihole/pihole.toml ]]; then
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue