From c09208c3af726a6cae034fa320d6db5b84fa5f48 Mon Sep 17 00:00:00 2001 From: DriesSchaumont <5946712+DriesSchaumont@users.noreply.github.com> Date: Mon, 1 Jul 2024 10:04:55 +0000 Subject: [PATCH] BUG: pear component failure is ignored --- CHANGELOG.md | 8 +++++++- src/pear/script.sh | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c89bb9b4..bfe2b1b6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,10 @@ -# biobox unreleased +# biobox x.x.x + +## BUG FIXES + +* `pear`: fix component not exiting with the correct exitcode when PEAR fails. + +# biobox 0.1.0 ## BREAKING CHANGES diff --git a/src/pear/script.sh b/src/pear/script.sh index f7d6a28f..9eff147b 100644 --- a/src/pear/script.sh +++ b/src/pear/script.sh @@ -1,5 +1,7 @@ #!/bin/bash +set -eo pipefail + ## VIASH START ## VIASH END