summaryrefslogtreecommitdiff
path: root/yarns/morph.shell-lib
diff options
context:
space:
mode:
Diffstat (limited to 'yarns/morph.shell-lib')
-rw-r--r--yarns/morph.shell-lib17
1 files changed, 10 insertions, 7 deletions
diff --git a/yarns/morph.shell-lib b/yarns/morph.shell-lib
index 2981e6d9..66abd076 100644
--- a/yarns/morph.shell-lib
+++ b/yarns/morph.shell-lib
@@ -30,13 +30,16 @@
run_morph()
{
- "${SRCDIR:-.}"/morph \
- --cachedir-min-space=0 --tempdir-min-space=0 \
- --no-default-config --config "$DATADIR/morph.conf" "$@" \
- 2> "$DATADIR/result-$1"
- local exit_code="$?"
- cat "$DATADIR/result-$1" >&2
- return "$exit_code"
+ {
+ set +e
+ "${SRCDIR:-.}"/morph \
+ --cachedir-min-space=0 --tempdir-min-space=0 \
+ --no-default-config --config "$DATADIR/morph.conf" "$@" \
+ 2> "$DATADIR/result-$1"
+ local exit_code="$?"
+ cat "$DATADIR/result-$1" >&2
+ return "$exit_code"
+ }
}