Skip to content

Commit

Permalink
fix(builtin): default STDOUT_CAPTURE_IS_NOT_AN_OUTPUT to falsey (#3364)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptarjan authored Mar 16, 2022
1 parent eeb17b3 commit 11952b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/node/launcher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,11 @@ _exit() {
EXIT_CODE=$?

if [[ "$EXIT_CODE" != 0 ]]; then
if [ ${STDOUT_CAPTURE_IS_NOT_AN_OUTPUT} = true ]; then
if [[ ${STDOUT_CAPTURE_IS_NOT_AN_OUTPUT:-} == true ]]; then
cat "$STDOUT_CAPTURE"
rm "$STDOUT_CAPTURE"
fi
if [ ${STDERR_CAPTURE_IS_NOT_AN_OUTPUT} = true ]; then
if [[ ${STDERR_CAPTURE_IS_NOT_AN_OUTPUT:-} == true ]]; then
cat "$STDERR_CAPTURE"
rm "$STDERR_CAPTURE"
fi
Expand Down

0 comments on commit 11952b1

Please sign in to comment.