mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-19 04:58:00 +00:00
fixed style check issue in CommandTpm2.cpp
This commit is contained in:
parent
f05bfa776d
commit
766ff75261
@ -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());
|
||||||
|
Loading…
Reference in New Issue
Block a user