1
0
mirror of https://github.com/pi-hole/pi-hole synced 2024-12-22 23:08:07 +00:00

One check less

Signed-off-by: Christian König <github@yubiuser.dev>
This commit is contained in:
Christian König 2024-12-16 11:56:04 +01:00
parent d030492664
commit 26ef0be9d6
No known key found for this signature in database

View File

@ -2490,10 +2490,6 @@ main() {
# Update local and remote versions via updatechecker
/opt/pihole/updatecheck.sh
if [[ "${useUpdateVars}" == false ]]; then
displayFinalMessage "${pw}"
fi
# If there is a password
if ((${#pw} > 0)); then
# display the password
@ -2502,6 +2498,9 @@ main() {
fi
if [[ "${useUpdateVars}" == false ]]; then
# Display the completion dialog
displayFinalMessage "${pw}"
# If the Web interface was installed,
printf " %b View the web interface at http://pi.hole:${WEBPORT}/admin or http://%s/admin\\n\\n" "${INFO}" "${IPV4_ADDRESS%/*}:${WEBPORT}"