Explorar o código

Remove game log -- terraria doesn't have any

Bryce Van Dyk %!s(int64=10) %!d(string=hai) anos
pai
achega
539e3bc360
Modificáronse 2 ficheiros con 2 adicións e 3 borrados
  1. 1 2
      Terraria/terrariaserver
  2. 1 1
      functions/fn_install_logs

+ 1 - 2
Terraria/terrariaserver

@@ -50,8 +50,7 @@ backupdir="${rootdir}/backups"
 
 # Logging
 logdays="7"
-# Terraria Doesn't Have a Server Log
-gamelogdir=""
+#gamelogdir="" # Terraria Doesn't Have a Server Log
 scriptlogdir="${rootdir}/log/script"
 consolelogdir="${rootdir}/log/console"
 

+ 1 - 1
functions/fn_install_logs

@@ -20,7 +20,7 @@ if [ -n "${consolelogdir}" ]; then
 fi
 
 # If a server is source or goldsource, Teamspeak 3, Starbound, Project Zomhoid create a symbolic link to the game server logs.
-if [ "${engine}" == "source" ]||[ "${engine}" == "goldsource" ]||[ "${gamename}" == "Teamspeak 3" ]||[ "${engine}" == "starbound" ]||[ "${engine}" == "projectzomboid" ][ "${engine}" == "terraia" ]; then
+if [ "${engine}" == "source" ]||[ "${engine}" == "goldsource" ]||[ "${gamename}" == "Teamspeak 3" ]||[ "${engine}" == "starbound" ]||[ "${engine}" == "projectzomboid" ]; then
 	if [ ! -h "${rootdir}/log/server" ]; then
 		ln -nfsv "${gamelogdir}" "${rootdir}/log/server"
 	fi