mirror of
https://github.com/pi-hole/pi-hole
synced 2025-02-07 13:42:40 +00:00
Apply suggestions from code review
Co-authored-by: yubiuser <github@yubiuser.dev> Signed-off-by: Dominik <DL6ER@users.noreply.github.com>
This commit is contained in:
parent
4d23187f86
commit
211a881888
@ -2352,14 +2352,14 @@ migrate_dnsmasq_configs() {
|
||||
# changed settings via setupVars.conf or the other dnsmasq files moved above
|
||||
# During migration, setupVars.conf is moved to /etc/pihole/migration_backup_v6
|
||||
str="Migrating Pi-hole configuration to version 6"
|
||||
printf " %b %s...\\n" "${INFO}"
|
||||
printf " %b %s...\\n" "${INFO}" "${str}"
|
||||
local FTLoutput FTLstatus
|
||||
FTLoutput=$(pihole-FTL migrate v6)
|
||||
FTLstatus=$?
|
||||
if [[ "${FTLstatus}" -eq 0 ]]; then
|
||||
printf " %b %s\\n" "${TICK}" "${str}"
|
||||
printf "%b %b %s\\n" "${OVER}" "${TICK}" "${str}"
|
||||
else
|
||||
printf " %b %s\\n" "${CROSS}" "${str}"
|
||||
printf "%b %b %s\\n" "${OVER}" "${CROSS}" "${str}"
|
||||
fi
|
||||
|
||||
# Print the output of the FTL migration prefacing every line with four
|
||||
|
Loading…
Reference in New Issue
Block a user