From 539e3bc3604d59b16f4d22995dcf30532ba75c70 Mon Sep 17 00:00:00 2001 From: Bryce Van Dyk Date: Mon, 7 Sep 2015 21:45:50 +1200 Subject: [PATCH] Remove game log -- terraria doesn't have any --- Terraria/terrariaserver | 3 +-- functions/fn_install_logs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Terraria/terrariaserver b/Terraria/terrariaserver index 92a00c007..8afab9c3b 100644 --- a/Terraria/terrariaserver +++ b/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" diff --git a/functions/fn_install_logs b/functions/fn_install_logs index bde30a09f..6ac465fee 100644 --- a/functions/fn_install_logs +++ b/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