mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 23:08:07 +00:00
Sorry, left that gravity.list parser in. Big debug files. Cleared that up.
This commit is contained in:
parent
85fbd66871
commit
cb5c94ef5e
@ -366,16 +366,12 @@ else
|
|||||||
printf ":::\tNo 01-pihole.conf file found\n"
|
printf ":::\tNo 01-pihole.conf file found\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "::: Writing size of gravity.list to debug log..."
|
|
||||||
header_write "gravity.list"
|
|
||||||
|
|
||||||
if [ -e "${GRAVITYFILE}" ]; then
|
header_write "Analyzing gravity.list"
|
||||||
wc -l "${GRAVITYFILE}" >> ${DEBUG_LOG}
|
|
||||||
log_write ""
|
gravity_length=$(wc -l "${GRAVITYFILE}") \
|
||||||
else
|
&& log_write "${GRAVITYFILE} is ${gravity_length} lines long." \
|
||||||
log_write "No gravity.list file found!"
|
|| log_echo "Warning: No gravity.list file found!"
|
||||||
printf ":::\tNo gravity.list file found\n"
|
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
### Pi-hole application specific logging ###
|
### Pi-hole application specific logging ###
|
||||||
|
Loading…
Reference in New Issue
Block a user