Skip to content

Commit 5a05030

Browse files
author
George Almasi
committed
typo fix
Signed-off-by: George Almasi <[email protected]>
1 parent dcf7d97 commit 5a05030

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

keylime-agent/src/config.rs

+4-2
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,8 @@ fn config_translate_keywords(
735735
))
736736
})?;
737737

738+
let root_path=Path::new("/");
739+
738740
let mut agent_data_path = config_get_file_path(
739741
"agent_data_path",
740742
&config.agent.agent_data_path,
@@ -745,14 +747,14 @@ fn config_translate_keywords(
745747
let mut ima_ml_path = config_get_file_path(
746748
"ima_ml_path",
747749
&config.agent.ima_ml_path,
748-
"/",
750+
root_path,
749751
DEFAULT_IMA_ML_PATH,
750752
);
751753

752754
let mut measuredboot_ml_path = config_get_file_path(
753755
"measuredboot_ml_path",
754756
&config.agent.measuredboot_ml_path,
755-
"/",
757+
root_path,
756758
DEFAULT_MEASUREDBOOT_ML_PATH,
757759
);
758760

0 commit comments

Comments
 (0)