Notify user that log is being uploaded.

Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
pull/1281/head
Dan Schaper 7 years ago
parent 9b060aab34
commit 7244d44a1d
No known key found for this signature in database
GPG Key ID: 572E999E385B7BFC

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

Loading…
Cancel
Save