Skip to content

Commit ea289d4

Browse files
committed
fix: Proper standard error redirection
1 parent daf70c7 commit ea289d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/src/public/bash-core.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ core.panic() {
235235
fi
236236

237237
if core.err_exists; then
238-
printf '%s\n' 'Error found:'
238+
printf '%s\n' 'Error found:' >&2
239239
printf '%s\n' " ERRCODE: $ERRCODE" >&2
240240
printf '%s\n' " ERR: $ERR" >&2
241241
fi

0 commit comments

Comments
 (0)