fix(bin/emqx): ensure no crash dump when checking compatibility
This commit is contained in:
parent
3da3aa9f57
commit
809f2ede09
3
bin/emqx
3
bin/emqx
|
@ -287,7 +287,8 @@ COMPATIBILITY_CHECK='
|
||||||
|
|
||||||
compatiblity_info() {
|
compatiblity_info() {
|
||||||
# RELEASE_LIB is used by Elixir
|
# 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 \
|
-noshell \
|
||||||
-boot_var RELEASE_LIB "$ERTS_LIB_DIR/lib" \
|
-boot_var RELEASE_LIB "$ERTS_LIB_DIR/lib" \
|
||||||
-boot "$REL_DIR/start_clean" \
|
-boot "$REL_DIR/start_clean" \
|
||||||
|
|
Loading…
Reference in New Issue