mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-12-01 02:23:21 +00:00
Simplified the log file
This commit is contained in:
parent
caaee40889
commit
3fcb3b7117
1 changed files with 1 additions and 2 deletions
|
@ -330,8 +330,7 @@ function dumpPiHoleLog {
|
|||
|
||||
# Anything to be done after capturing of pihole.log terminates
|
||||
function finalWork {
|
||||
echo "::: Finshed debugging!"
|
||||
echo "::: Debug log can be found at : /var/log/pihole_debug.log"
|
||||
echo "::: Debug log can be found at : $(cat /var/log/pihole_debug.log | curl --silent -F 'sprunge=<-' http://sprunge.us)"
|
||||
}
|
||||
trap finalWork EXIT
|
||||
|
||||
|
|
Loading…
Reference in a new issue