summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--yarns/morph.shell-lib3
1 files changed, 3 insertions, 0 deletions
diff --git a/yarns/morph.shell-lib b/yarns/morph.shell-lib
index b11ddab1..2981e6d9 100644
--- a/yarns/morph.shell-lib
+++ b/yarns/morph.shell-lib
@@ -34,6 +34,9 @@ run_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"
}