Clear screen before prompt [ci skip]

This commit is contained in:
abejgonzalez 2023-04-20 14:47:21 -07:00
parent 8c301ad57b
commit c358011e6f
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ tag_ret_code="$?"
set -e
if [ "$tag_ret_code" -ne 0 ]; then
if [ "$SKIP_VALIDATE" = false ]; then
printf '\033[2J' # clear screen
read -p "WARNING: You are not on an official release of FireSim."$'\n'"Type \"y\" to continue if this is intended, otherwise see https://docs.fires.im/en/stable/Initial-Setup/Setting-up-your-Manager-Instance.html#setting-up-the-firesim-repo: " validate
[[ "$validate" == [yY] ]] || exit 5
echo "Setting up non-official FireSim release"