Update logging message

This commit is contained in:
Serene-Arc
2021-06-13 09:49:42 +10:00
parent a8bc4f999e
commit 7c27b7bf12
2 changed files with 3 additions and 3 deletions

View File

@@ -11,13 +11,13 @@ if [ -n "$2" ]; then
output="$2"
echo "Outputting IDs to $output"
else
output="failed.txt"
output="./failed.txt"
fi
{
grep 'Could not download submission' "$file" | awk '{ print $12 }' | rev | cut -c 2- | rev ;
grep 'Failed to download resource' "$file" | awk '{ print $15 }' ;
grep 'failed to download submission' "$file" | awk '{ print $14 }' | rev | cut -c 2- | rev ;
grep 'Failed to write file' "$file" | awk '{ print $16 }' | rev | cut -c 2- | rev ;
grep 'Failed to write file' "$file" | awk '{ print $13 }' | rev | cut -c 2- | rev ;
grep 'skipped due to disabled module' "$file" | awk '{ print $9 }' ;
} >>"$output"