From 714dac71217ba93cd5502e5436b6f120ba01804d Mon Sep 17 00:00:00 2001 From: James Swineson Date: Wed, 10 Apr 2019 10:01:22 +0800 Subject: [PATCH] update comments --- menhera.sh | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/menhera.sh b/menhera.sh index 86de721..a512a28 100755 --- a/menhera.sh +++ b/menhera.sh @@ -167,8 +167,14 @@ copy_config install_software swap_root -echo -e "If you are connecting from SSH, please create a second session to this host and confirm you can get a shell." +echo -e "If you are connecting from SSH, please create a second session to this host use root and" +echo -e "confirm you can get a shell." echo -e "After your confirmation, we are going to kill the old SSH server." -confirm || exit -1 -clear_processes +if confirm; then + clear_processes +else + echo -e "Please manually issue a reboot to recover your old OS. If you believe there is a bug in menhera.sh, " + echo -e "raise a ticket at https://github.com/Jamesits/menhera.sh/issues ." + exit 1 +fi