You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
nCTFsProcessed=`grep "Read CTF"$1| tail -1 | sed 's/^.*Read CTF \([0-9]*\).*$/\1/'`
13
13
nCTFsProcessed=$((nCTFsProcessed +1))
14
14
15
-
if [[ $nCTFsFilesInspected!=$((nCTFsFilesFailed + nCTFsFilesOK)) ]];then
15
+
if [[ $nCTFsFilesInspected-gt 0 &&$nCTFsFilesInspected!=$((nCTFsFilesFailed + nCTFsFilesOK)) ]];then
16
16
echo"Something went wrong with parsing the log file: CTF files inspected ($nCTFsFilesInspected) is not the sum of those successfully processed ($nCTFsFilesOK) and those that failed ($nCTFsFilesFailed)"
0 commit comments