From 6a6dbe0eb70c798066bd17cba9f70e32c9a9b3ca Mon Sep 17 00:00:00 2001 From: JustAnotherArchivist Date: Thu, 30 Mar 2023 01:41:16 +0000 Subject: [PATCH] Fix list parsing copy-paste typo --- codearchiver-bot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codearchiver-bot b/codearchiver-bot index 252133a..96dbf8c 100755 --- a/codearchiver-bot +++ b/codearchiver-bot @@ -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