From 8bf21d6c44a7b12a249dc0a9e6628cd1e716c4ec Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 16 Apr 2017 20:25:30 +0100 Subject: [PATCH] moved get opt to correct location --- linuxgsm.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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