On Sat, Jun 08, 2024 at 11:22:05PM -0500, Glenn Washburn wrote:
> When $detached_header was set 1, $luksdiskfile was set to the luks header
> file path with "${detached_header:-$luksfile}" appended, which evaluates
> to "1". Fix this by using two statements to set $luksdiskfile. The first
> sets it to the header file if $detached_header is set, otherwise leave it
> unset. The second statement sets it to itself if it is already set,
> otherwise it is set to $luksfile.
>
> Fixes: a7b540e6e (tests: Add cryptomount functional test)
> Signed-off-by: Glenn Washburn <developm...@efficientek.com>

Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to