Просмотр исходного кода

fix(monitor): monitor does not continue to query if session has failed

Daniel Gibbs 7 лет назад
Родитель
Сommit
38164851bd
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      lgsm/functions/command_monitor.sh

+ 2 - 1
lgsm/functions/command_monitor.sh

@@ -124,6 +124,7 @@ fn_monitor_check_session(){
 		fn_script_log_info "Monitor is starting ${servername}"
 		sleep 0.5
 		command_restart.sh
+		core_exit.sh
 	fi
 	sleep 0.5
 }
@@ -195,4 +196,4 @@ elif [ "${shortname}" == "ts3" ]||[ "${shortname}" == "eco" ]||[ "${shortname}"
 else
 	fn_monitor_query
 fi
-core_exit.sh
+core_exit.sh