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