feat: log the upgrade script being used for visibility
This commit is contained in:
parent
7c6bb63ce9
commit
5428d46694
1
bin/emqx
1
bin/emqx
|
@ -1055,6 +1055,7 @@ case "${COMMAND}" in
|
||||||
fi
|
fi
|
||||||
|
|
||||||
upgrade_script_path="$(versioned_script_path install_upgrade.escript "$newest_vsn")"
|
upgrade_script_path="$(versioned_script_path install_upgrade.escript "$newest_vsn")"
|
||||||
|
echo "using ${upgrade_script_path} to run ${COMMAND} $*"
|
||||||
|
|
||||||
ERL_FLAGS="${ERL_FLAGS:-} $EPMD_ARGS" \
|
ERL_FLAGS="${ERL_FLAGS:-} $EPMD_ARGS" \
|
||||||
exec "$BINDIR/escript" "$upgrade_script_path" \
|
exec "$BINDIR/escript" "$upgrade_script_path" \
|
||||||
|
|
Loading…
Reference in New Issue