fixed style check issue in CommandTpm2.cpp

This commit is contained in:
lareine 2021-05-27 15:43:44 -04:00
parent f05bfa776d
commit 766ff75261

View File

@ -816,10 +816,10 @@ string CommandTpm2::runTpm2CommandWithRetry(const string& command,
try { try {
if (command.compare(kTpm2ToolsNvReadCommand) == 0) { if (command.compare(kTpm2ToolsNvReadCommand) == 0) {
return hirs::utils::Process::runData(command, args, return hirs::utils::Process::runData(command, args,
"CommandTpm2.cpp", sourceCodeLineNumber); "CommandTpm2.cpp", sourceCodeLineNumber);
} else { } else {
return hirs::utils::Process::run(command, args, return hirs::utils::Process::run(command, args,
"CommandTpm2.cpp", sourceCodeLineNumber); "CommandTpm2.cpp", sourceCodeLineNumber);
} }
} catch (HirsRuntimeException& ex) { } catch (HirsRuntimeException& ex) {
tpmErrorCode = Tpm2ToolsOutputParser::parseTpmErrorCode(ex.what()); tpmErrorCode = Tpm2ToolsOutputParser::parseTpmErrorCode(ex.what());