feat: log the upgrade script being used for visibility

This commit is contained in:
Thales Macedo Garitezi 2022-12-27 10:41:33 -03:00
parent 7c6bb63ce9
commit 5428d46694
1 changed files with 1 additions and 0 deletions

View File

@ -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" \