Procházet zdrojové kódy

moved get opt to correct location

Daniel Gibbs před 9 roky
rodič
revize
8bf21d6c44
1 změnil soubory, kde provedl 5 přidání a 4 odebrání
  1. 5 4
      linuxgsm.sh

+ 5 - 4
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