Remove redundant code.

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER 2020-02-21 22:28:53 +01:00
parent 3c09cd4a3a
commit 050e2963c7
No known key found for this signature in database
GPG Key ID: FB60471F0575164A
1 changed files with 0 additions and 10 deletions

View File

@ -404,16 +404,6 @@ gravity_DownloadBlocklists() {
fi
done <<< "${output}"
echo ""
local file line
while IFS= read -r line; do
warning="$(grep -oh "^[^:]*:[0-9]*" <<< "${line}")"
file="${warning%:*}"
lineno="${warning#*:}"
if [[ -n "${file}" && -n "${lineno}" ]]; then
echo -n "Line contains: "
awk "NR==${lineno}" < ${file}
fi
done <<< "${output}"
fi
rm "${target}" > /dev/null 2>&1 || \