mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 23:08:07 +00:00
Clean up more of the UX and log. Lots to go.
This commit is contained in:
parent
01f10b56e8
commit
c2cfc09f63
@ -68,7 +68,7 @@ log_echo() {
|
|||||||
case ${1} in
|
case ${1} in
|
||||||
-n)
|
-n)
|
||||||
echo -n "::: ${2}"
|
echo -n "::: ${2}"
|
||||||
log_write ${2}
|
log_write "${2}"
|
||||||
;;
|
;;
|
||||||
-l)
|
-l)
|
||||||
echo "${2}"
|
echo "${2}"
|
||||||
@ -131,7 +131,7 @@ files_check() {
|
|||||||
log_echo -n "Detecting existence of ${1}:"
|
log_echo -n "Detecting existence of ${1}:"
|
||||||
local search_file="${1}"
|
local search_file="${1}"
|
||||||
if [[ -s ${search_file} ]]; then
|
if [[ -s ${search_file} ]]; then
|
||||||
log_echo -l " exists"
|
echo " exists"
|
||||||
file_parse "${search_file}"
|
file_parse "${search_file}"
|
||||||
return 0
|
return 0
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user