From fda6c0ab2b1c8622642a84de812678b7b2662416 Mon Sep 17 00:00:00 2001 From: leimingsheng Date: Thu, 26 Jun 2025 11:43:51 +0800 Subject: [PATCH] =?UTF-8?q?refactor(master=20:=20nicsensor)=20debug?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E4=B8=8B=E8=B7=B3=E8=BF=87=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E5=99=A8=E8=AF=86=E5=88=AB=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nicsensor.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nicsensor.sh b/nicsensor.sh index e228172..9de21b1 100755 --- a/nicsensor.sh +++ b/nicsensor.sh @@ -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