Notify user that log is being uploaded.

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
Dan Schaper 2017-02-27 10:02:00 -08:00
parent 9b060aab34
commit 7244d44a1d
No known key found for this signature in database
GPG key ID: 572E999E385B7BFC

View file

@ -408,6 +408,7 @@ finalWork() {
echo "::: Finshed debugging!"
echo "::: The debug log can be uploaded to tricorder.pi-hole.net for sharing with developers only."
if [[ "${AUTOMATED}" ]]; then
echo "Debug script running in automated mode, uploading log to tricorder..."
tricorder=$(cat /var/log/pihole_debug.log | nc tricorder.pi-hole.net 9999)
else
read -r -p "::: Would you like to upload the log? [y/N] " response