瀏覽代碼

Remove game log -- terraria doesn't have any

Bryce Van Dyk 10 年之前
父節點
當前提交
539e3bc360
共有 2 個文件被更改,包括 2 次插入3 次删除
  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