Daniel Gibbs преди 10 години
родител
ревизия
ff3017fd97
променени са 2 файла, в които са добавени 3 реда и са изтрити 3 реда
  1. 1 1
      functions/command_start.sh
  2. 2 2
      functions/info_config.sh

+ 1 - 1
functions/command_start.sh

@@ -59,7 +59,7 @@ cd "${executabledir}"
 ./ts3server_startscript.sh start inifile="${servercfgfullpath}" > /dev/null 2>&1
 sleep 1
 info_ts3status.sh
-if [ "${ts3status}" = "Server seems to have died" ] || [ "${ts3status}"	= "No server running (ts3server.pid is missing)" ]; then
+if [ "${ts3status}" = "Server seems to have died" ]||[ "${ts3status}"	= "No server running (ts3server.pid is missing)" ]; then
 	fn_printfailnl "Unable to start ${servername}"
 	fn_scriptlog "Unable to start ${servername}"
 	echo -e "	Check log files: ${rootdir}/log"

+ 2 - 2
functions/info_config.sh

@@ -297,7 +297,7 @@ elif [ "${engine}" == "seriousengine35" ]; then
 	fn_servercfgfullpath
 
 # Source Engine Games
-elif [ "${engine}" == "source" ] || [ "${engine}" == "goldsource" ]; then
+elif [ "${engine}" == "source" ]||[ "${engine}" == "goldsource" ]; then
 
 	# server name
 	if [ -f "${servercfgfullpath}" ]; then
@@ -635,7 +635,7 @@ elif [ "${gamename}" == "Hurtworld" ]; then
 	fi
 
 # Unreal Tournament 
-elif [ "${engine}" == "unreal" ] || [ "${engine}" == "unreal2" ]; then
+elif [ "${engine}" == "unreal" ]||[ "${engine}" == "unreal2" ]; then
 
 	# server name
 	if [ -f "${servercfgfullpath}" ]; then