mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-03-03 15:28:28 +00:00
Shellcheck final work
This commit is contained in:
parent
0e0a389faa
commit
93f4468d88
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ finalWork() {
|
|||
read -r -p "::: Would you like to upload the log? [y/N] " response
|
||||
case ${response} in
|
||||
[yY][eE][sS]|[yY])
|
||||
tricorder=$(cat /var/log/pihole_debug.log | nc -w 10 tricorder.pi-hole.net 9999)
|
||||
tricorder=$(nc -w 10 tricorder.pi-hole.net 9999 < /var/log/pihole_debug.log)
|
||||
;;
|
||||
*)
|
||||
echo "::: Log will NOT be uploaded to tricorder."
|
||||
|
|
Loading…
Add table
Reference in a new issue