Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
Signed-off-by: George Almasi <[email protected]>
  • Loading branch information
George Almasi authored and ansasaki committed Jan 29, 2024
1 parent 6c71752 commit 899cdf8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions keylime-agent/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,8 @@ fn config_translate_keywords(
))
})?;

let root_path=Path::new("/");

let mut agent_data_path = config_get_file_path(
"agent_data_path",
&config.agent.agent_data_path,
Expand All @@ -745,14 +747,14 @@ fn config_translate_keywords(
let mut ima_ml_path = config_get_file_path(
"ima_ml_path",
&config.agent.ima_ml_path,
"/",
root_path,
DEFAULT_IMA_ML_PATH,
);

let mut measuredboot_ml_path = config_get_file_path(
"measuredboot_ml_path",
&config.agent.measuredboot_ml_path,
"/",
root_path,
DEFAULT_MEASUREDBOOT_ML_PATH,
);

Expand Down

0 comments on commit 899cdf8

Please sign in to comment.