From b276263dae5fc1d50a83df2cc6bfee4edf8c6944 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Wed, 6 Jan 2016 20:00:46 +0000 Subject: [PATCH] Monitor update check_config --- functions/check.sh | 4 +--- functions/check_config.sh | 3 +++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/functions/check.sh b/functions/check.sh index 3456408cc..fd8b57a30 100644 --- a/functions/check.sh +++ b/functions/check.sh @@ -62,7 +62,5 @@ do done if [ "${function_selfname}" != "command_install.sh" ]; then - if [ "${allowed_command}" == "${function_selfname}" ]; then - check_config.sh - fi + check_config.sh fi \ No newline at end of file diff --git a/functions/check_config.sh b/functions/check_config.sh index 782b6ec9e..8e2d6bc44 100644 --- a/functions/check_config.sh +++ b/functions/check_config.sh @@ -10,5 +10,8 @@ if [ ! -e "${servercfgfullpath}" ]; then if [ "${gamename}" != "Hurtworld" ]; then fn_printwarnnl "Configuration file missing" echo "${servercfgfullpath}" + fn_scriptlog "Configuration file missing" + fn_scriptlog "${servercfgfullpath}" + sleep 2 fi fi \ No newline at end of file