소스 검색

Fix log filename finder not checking for compressed files

master
JustAnotherArchivist 1 년 전
부모
커밋
20cbbc8603
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      codearchiver-bot

+ 2
- 2
codearchiver-bot 파일 보기

@@ -142,9 +142,9 @@ function respond {

# Find nonexistent filename for log file (*not* concurrency-safe!)
logbasename="$(date +%Y%m%dT%H%M%SZ)_${singlejobid}"
if [[ -e "${logbasename}_codearchiver.log" ]]; then
if [[ -e "${logbasename}_codearchiver.log" || -e "${logbasename}_codearchiver.log.zst" ]]; then
for ((j=0; ; ++j)); do
if [[ ! -e "${logbasename}_coll${j}_codearchiver.log" ]]; then
if [[ ! -e "${logbasename}_coll${j}_codearchiver.log" || -e "${logbasename}_coll${j}_codearchiver.log.zst" ]]; then
break
fi
done


불러오는 중...
취소
저장