diff --git a/script/local/LocalCheck.py b/script/local/LocalCheck.py index 64782a4..82a9efb 100644 --- a/script/local/LocalCheck.py +++ b/script/local/LocalCheck.py @@ -253,8 +253,8 @@ def checkSysctlParameter(kernelParameter, isSet): expected_max = float(kernelParameter[key].split()[0]) * 1.1 if (int(output.split()[0]) > expected_max or int(output.split()[0]) < expected_min): - resultList.append(1) - g_logger.log(" Abnormal reason: variable '%s'" + resultList.append(2) + g_logger.log(" Warning reason: variable '%s'" " RealValue '%s' ExpectedValue '%s'." % (key, output, kernelParameter[key])) setParameterList[key] = kernelParameter[key]