DEBUG] Anzahl Filter: only output the Lines and not the Filename

This commit is contained in:
Michael Grote 2022-08-26 21:34:57 +02:00
parent 5ef25b631f
commit 2a324c35c4
1 changed files with 3 additions and 3 deletions

View File

@ -146,7 +146,7 @@ function debug_output {
echo [DEBUG] Sleep-Intervall: "$MF_SLEEP"
echo [DEBUG] Auth-Token: "$MF_AUTH_TOKEN"
echo [DEBUG] MF-Url: "$MF_API_URL"
echo [DEBUG] Anzahl Filter: "$(wc -l "$MF_FILTERLIST_FILE")"
echo [DEBUG] Anzahl Filter: "$(wc -l < "$MF_FILTERLIST_FILE")"
echo -----------------------------------------------------
fi
}
@ -234,10 +234,10 @@ case "$1" in
check_dependencies
# fuehre script durchgaengig aus
while true; do
check_ping_connectivity
check_api_connectivity
check_vars
debug_output
check_ping_connectivity
check_api_connectivity
get_unread_entries
filter_entries
mark_as_read