From 050e2963c754cab03262bcc53948b620ca92cd01 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 21 Feb 2020 22:28:53 +0100 Subject: [PATCH] Remove redundant code. Signed-off-by: DL6ER --- gravity.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gravity.sh b/gravity.sh index eac0acfe..4860339f 100755 --- a/gravity.sh +++ b/gravity.sh @@ -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 || \