Merge pull request #8698 from zmstone/0811-avoid-crash-dump-when-checking-boot

fix(bin/emqx): ensure no crash dump when checking compatibility
This commit is contained in:
Xinyu Liu 2022-08-12 18:25:57 +08:00 committed by GitHub
commit a61b4bc9e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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" \