# Return the final PASS/FAIL to the user
if [ "${ERR_STATE}" = true ] ; then
rule_result FAILED "Detected an invalid PMem population. Counted ${NUM_OF_DIMMIDS} PMem modules. See previous errors."
else
rule_result PASSED "Detected ${NUM_OF_DIMMIDS} PMem modules. Population looks good."
fi
In
optane/check_dimm_population
, the script setserr_state=true|false
but the final check is requires an uppercaseERR_STATE