From 5532df24e4af9181d7c16c5676de922e0c4587b6 Mon Sep 17 00:00:00 2001 From: Dan Schaper Date: Fri, 3 May 2019 02:46:27 -0700 Subject: [PATCH] Pi-hole Debug - tricorder upload function calls Fix tricorder upload function calls to use new curl function. --- advanced/Scripts/piholeDebug.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/advanced/Scripts/piholeDebug.sh b/advanced/Scripts/piholeDebug.sh index 591a7ae4..1010f26c 100755 --- a/advanced/Scripts/piholeDebug.sh +++ b/advanced/Scripts/piholeDebug.sh @@ -1180,7 +1180,7 @@ upload_to_tricorder() { # let the user know log_write "${INFO} Debug script running in automated mode" # and then decide again which tool to use to submit it - tricorder_use_nc_or_ssl + tricorder_use_nc_or_curl # If we're not running in automated mode, else echo "" @@ -1189,7 +1189,7 @@ upload_to_tricorder() { read -r -p "[?] Would you like to upload the log? [y/N] " response case ${response} in # If they say yes, run our function for uploading the log - [yY][eE][sS]|[yY]) tricorder_use_nc_or_ssl;; + [yY][eE][sS]|[yY]) tricorder_use_nc_or_curl;; # If they choose no, just exit out of the script *) log_write " * Log will ${COL_GREEN}NOT${COL_NC} be uploaded to tricorder.";exit; esac