mirror of
https://github.com/systemd/systemd
synced 2024-09-30 05:15:19 +00:00
pcrlock: don't override conf_root parameter for boot_entry_token_ensure()
if we pass NULL boot_entry_token_ensure() will use its own default, which is the same as what we passed so far explicitly, hence let's make use of that.
This commit is contained in:
parent
dc163cd40b
commit
e2f451d876
|
@ -4329,7 +4329,7 @@ static int determine_boot_policy_file(char **ret) {
|
|||
|
||||
r = boot_entry_token_ensure(
|
||||
/* root= */ NULL,
|
||||
"/etc/kernel",
|
||||
/* conf_root= */ NULL,
|
||||
machine_id,
|
||||
/* machine_id_is_random = */ false,
|
||||
&arg_entry_token_type,
|
||||
|
|
Loading…
Reference in a new issue