Procházet zdrojové kódy

Monitor update check_config

Daniel Gibbs před 10 roky
rodič
revize
b276263dae
2 změnil soubory, kde provedl 4 přidání a 3 odebrání
  1. 1 3
      functions/check.sh
  2. 3 0
      functions/check_config.sh

+ 1 - 3
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

+ 3 - 0
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