Clear screen before prompt [ci skip]
This commit is contained in:
parent
8c301ad57b
commit
c358011e6f
|
@ -72,6 +72,7 @@ tag_ret_code="$?"
|
||||||
set -e
|
set -e
|
||||||
if [ "$tag_ret_code" -ne 0 ]; then
|
if [ "$tag_ret_code" -ne 0 ]; then
|
||||||
if [ "$SKIP_VALIDATE" = false ]; 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
|
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
|
[[ "$validate" == [yY] ]] || exit 5
|
||||||
echo "Setting up non-official FireSim release"
|
echo "Setting up non-official FireSim release"
|
||||||
|
|
Loading…
Reference in New Issue