Fix for hsbp-manager service crash
When hsbp-manager FRU is corrupted with "Board Mfg" name,
hsbp-manager.service is crashing while extracting Board Mfg from the
FRU and dumping the core.
So add if condition to read when name of the variant contains
exactly string.
Tested:
Verified with corrupted hsbp-manager fru and hsbp-manager.service did
not crash with this change.
Change-Id: Ic279eb1f7c44e7cbbd7313bb9cacb82d9054ff05
Signed-off-by: Jayaprakash Mutyala <mutyalax.jayaprakash@intel.com>
1 file changed