Skip to content

Commit 59a59c6

Browse files
committed
Change exit to reboot routine.
1 parent 1263b72 commit 59a59c6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

install/hst-install-debian.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1836,11 +1836,11 @@ $HESTIA/bin/v-add-user-notification admin 'Welcome!' 'For more information on ho
18361836
echo "(!) IMPORTANT: You must logout or restart the server before continuing."
18371837
echo ""
18381838
if [ "$interactive" = 'yes' ]; then
1839-
echo -n " Do you want to logout now? [Y/N] "
1839+
echo -n " Do you want to reboot now? [Y/N] "
18401840
read resetshell
18411841

18421842
if [ "$resetshell" = "Y" ] || [ "$resetshell" = "y" ]; then
1843-
exit
1843+
reboot
18441844
fi
18451845
fi
18461846

install/hst-install-ubuntu.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1755,11 +1755,11 @@ $HESTIA/bin/v-add-user-notification admin 'Welcome!' 'For more information on ho
17551755
echo "(!) IMPORTANT: You must logout or restart the server before continuing."
17561756
echo ""
17571757
if [ "$interactive" = 'yes' ]; then
1758-
echo -n " Do you want to logout now? [Y/N] "
1758+
echo -n " Do you want to reboot now? [Y/N] "
17591759
read resetshell
17601760

17611761
if [ "$resetshell" = "Y" ] || [ "$resetshell" = "y" ]; then
1762-
exit
1762+
reboot
17631763
fi
17641764
fi
17651765

0 commit comments

Comments
 (0)