Browse Source

Fix list parsing copy-paste typo

master
JustAnotherArchivist 1 year ago
parent
commit
6a6dbe0eb7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      codearchiver-bot

+ 1
- 1
codearchiver-bot View File

@@ -94,7 +94,7 @@ function taint_block {
bad=
log "Retrieving list job list: ${url}"
while read -r line; do
if [[ "${line}" =~ ^'!a '([a-z-]+\+)?[a-z]+://[^\ ]+$ ]]; then
if [[ "${line}" =~ ^([a-z-]+\+)?[a-z]+://[^\ ]+$ ]]; then
jobs+=("${line}")
elif [[ "${line}" == '' ]]; then
# Ignore empty lines


Loading…
Cancel
Save