refactor(master : nicsensor) debug模式下跳过服务器识别功能

This commit is contained in:
leimingsheng 2025-06-26 11:43:51 +08:00
parent 58f45494af
commit fda6c0ab2b

@ -368,7 +368,8 @@ pre_exec_hook(){
init_debuglog
# check server_type if is auto
if [ "$server_type" = "auto" ];then
# if in debug mode, skip this check
if [ "$server_type" = "auto" ] && [ $DEBUG_MODE -eq 0 ];then
try_get_server_type
fi