mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-21 05:53:27 +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 {
|
||||
if (command.compare(kTpm2ToolsNvReadCommand) == 0) {
|
||||
return hirs::utils::Process::runData(command, args,
|
||||
"CommandTpm2.cpp", sourceCodeLineNumber);
|
||||
"CommandTpm2.cpp", sourceCodeLineNumber);
|
||||
} else {
|
||||
return hirs::utils::Process::run(command, args,
|
||||
"CommandTpm2.cpp", sourceCodeLineNumber);
|
||||
"CommandTpm2.cpp", sourceCodeLineNumber);
|
||||
}
|
||||
} catch (HirsRuntimeException& ex) {
|
||||
tpmErrorCode = Tpm2ToolsOutputParser::parseTpmErrorCode(ex.what());
|
||||
|
Loading…
Reference in New Issue
Block a user