Skip to content

Commit 823a615

Browse files
committed
Fix topo and add question to a new line.
1 parent 065dcfc commit 823a615

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

install/hst-migration.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,11 @@ fi
5959
# Inform abouot and ask to proceed migration.
6060
loop=1
6161
while [ "$loop" -eq 1 ]; do
62-
read -p "Would you like to migrate to HestiaCP? Please be warned, that we remvoe and do not support softaculous and payed VestaCP extensions! [yes/no]: " api
63-
if [ $api == 'yes' ] || [ $api == 'no' ]; then
62+
echo "Would you like to migrate to HestiaCP?"
63+
read -p "Please be warned, that we've removed and do not support softaculous and payed VestaCP extensions! [yes/no]: " sure
64+
if [ $sure == 'yes' ] || [ $sure == 'no' ]; then
6465
loop=0
65-
if [ $api == 'no' ]; then
66+
if [ $sure == 'no' ]; then
6667
echo "Canceling migration..."
6768
exit 1
6869
fi

0 commit comments

Comments
 (0)