fix(bin/emqx): ensure no crash dump when checking compatibility

This commit is contained in:
Zaiming (Stone) Shi 2022-08-11 22:05:03 +02:00
parent 3da3aa9f57
commit 809f2ede09
1 changed files with 2 additions and 1 deletions

View File

@ -287,7 +287,8 @@ COMPATIBILITY_CHECK='
compatiblity_info() {
# RELEASE_LIB is used by Elixir
"$BINDIR/$PROGNAME" \
# set crash-dump bytes to zero to ensure no crash dump is generated when erl crashes
env ERL_CRASH_DUMP_BYTES=0 "$BINDIR/$PROGNAME" \
-noshell \
-boot_var RELEASE_LIB "$ERTS_LIB_DIR/lib" \
-boot "$REL_DIR/start_clean" \