Correct behaviour of check_logParser when there are warnings
Description of bug
when ./scripts/check_logParser.sh
is executed the shell exits immediately with an error without the possibility of controlling the exit status - this makes the pipeline fail if there are warnings from the logParser: https://gitlab.cern.ch/atlas-physics/pmg/mcjoboptions/-/jobs/21922112
Changes introduced
Source scripts/check_logParser.sh
and use the error code in one command
Tests
https://gitlab.cern.ch/atlas-physics/pmg/mcjoboptions/-/pipelines/3994187
Issues resolved
Closes #
Edited by Spyros Argyropoulos