Wording changes and bug fix

This commit is contained in:
WaLLy3K 2017-05-16 09:48:46 +10:00 committed by GitHub
parent da9ff0cc66
commit b9f2ba0717

5
pihole
View file

@ -277,7 +277,8 @@ tricorderFunc() {
if command -v openssl &> /dev/null; then
openssl s_client -quiet -connect tricorder.pi-hole.net:9998 2> /dev/null < /dev/stdin
else
echo "The debug log will be transmitted insecurely via plain-text"
echo "Your debug log will be transmitted unencrypted via plain-text"
echo "There is a possibility that this could be intercepted by a third party"
echo "If you wish to cancel, press Ctrl-C to exit within 10 seconds"
secs="10"
while [ "$secs" -gt 0 ]; do
@ -286,7 +287,7 @@ tricorderFunc() {
: $((secs--))
done
echo " "
nc tricorder.pi-hole.net 9999 < /dev/stdin < /dev/stdin
nc tricorder.pi-hole.net 9999 < /dev/stdin
fi
}