Simplified the log file

This commit is contained in:
Daniel Jenkins 2016-06-26 19:25:06 -04:00
parent caaee40889
commit 3fcb3b7117

View file

@ -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