Skip to content

Commit d9244bf

Browse files
authored
Merge pull request #2793 from esl/fix-package-crash-dump
Set directory for erl_crash.dump
2 parents 09f5fc2 + 5731ce7 commit d9244bf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rel/files/mongooseim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@ cd "$RUNNER_BASE_DIR"
3333
# Make sure log directory exists
3434
mkdir -p "$RUNNER_LOG_DIR"
3535

36+
# Save possible erl_crash.dump in log directory
37+
export ERL_CRASH_DUMP="${RUNNER_LOG_DIR}/erl_crash.dump"
38+
3639
# Extract the target node name from node.args
3740
NAME_ARG=`egrep -e '^-s?name' "$RUNNER_ETC_DIR"/vm.args`
3841
if [ -z "$NAME_ARG" ]; then

0 commit comments

Comments
 (0)