mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-25 06:10:20 +00:00
Merge pull request #920 from pi-hole/PromoFaux-patch-1
Update piholeDebug.sh
This commit is contained in:
commit
bdad454a0d
1 changed files with 5 additions and 2 deletions
|
@ -384,10 +384,13 @@ finalWork() {
|
||||||
# Check if tricorder.pi-hole.net is reachable and provide token.
|
# Check if tricorder.pi-hole.net is reachable and provide token.
|
||||||
if [ -n "${tricorder}" ]; then
|
if [ -n "${tricorder}" ]; then
|
||||||
echo "::: Your debug token is : ${tricorder}"
|
echo "::: Your debug token is : ${tricorder}"
|
||||||
echo "::: Please contact the Pi-hole team with your token to being assistance."
|
echo "::: Please contact the Pi-hole team with your token for assistance."
|
||||||
echo "::: Thank you."
|
echo "::: Thank you."
|
||||||
|
else
|
||||||
|
echo "::: There was an error uploading your debug log."
|
||||||
|
echo "::: Please try again or contact the Pi-hole team for assistance."
|
||||||
fi
|
fi
|
||||||
echo "::: Debug log can be found at : /var/log/pihole_debug.log"
|
echo "::: A local copy of the Debug log can be found at : /var/log/pihole_debug.log"
|
||||||
}
|
}
|
||||||
|
|
||||||
trap finalWork EXIT
|
trap finalWork EXIT
|
||||||
|
|
Loading…
Reference in a new issue