Description of problem: Pipe fail needs to be moved outside of the parenthesis in order to catch all errors inside of the code block, otherwise improper error code is returned. See https://github.com/sclorg/postgresql-container/pull/521 Version-Release number of selected component (if applicable): How reproducible: Reproducible Steps to Reproduce: See test case https://github.com/sclorg/postgresql-container/pull/523/files Actual results: If an upgrade fails, a zero error code should be thrown Expected results: If an upgrade fails, a non-zero error code should be thrown Additional info: PRs have been merged and this is largely for tracking purposes
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Updated Application Stream container images), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:4280