diff --git a/linuxgsm.sh b/linuxgsm.sh index 7402cd354..f1e21c33d 100644 --- a/linuxgsm.sh +++ b/linuxgsm.sh @@ -294,6 +294,8 @@ if [ "${shortname}" == "core" ]; then fn_server_info if [ "${result}" == "${servername}" ]; then fn_install_file + elif [ "${result}" == "" ]; then + echo "Install canceled" else echo "[ FAIL ] menu result does not match servername" fi @@ -342,7 +344,6 @@ else else source "${configdirserver}/${servicename}.cfg" fi -fi - -getopt=$1 -core_getopt.sh + getopt=$1 + core_getopt.sh +fi \ No newline at end of file