File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -189,10 +189,12 @@ taskwrapper() {
189189 -e \"terminate called without an active\" \
190190 -e \"\*\*\* Error in\"" # <--- LIBC fatal error messages
191191
192- grepcommand="grep -a -H ${pattern} $logfile ${JOBUTILS_JOB_SUPERVISEDFILES} >> encountered_exceptions_list 2>/dev/null"
192+ exclude_pattern="-e \"To change the tolerance or the exception severity\""
193+
194+ grepcommand="grep -a -H ${pattern} $logfile ${JOBUTILS_JOB_SUPERVISEDFILES} | grep -a -v ${exclude_pattern} >> encountered_exceptions_list 2>/dev/null"
193195 eval ${grepcommand}
194196
195- grepcommand="grep -a -h --count ${pattern} $logfile ${JOBUTILS_JOB_SUPERVISEDFILES} 2>/dev/null"
197+ grepcommand="cat encountered_exceptions_list 2>/dev/null | wc -l "
196198 # using eval here since otherwise the pattern is translated to a
197199 # a weirdly quoted stringlist
198200 RC=$(eval ${grepcommand})
You can’t perform that action at this time.
0 commit comments