From bfc17ca23a52f6ba46e979257a89d5be1b8483d7 Mon Sep 17 00:00:00 2001 From: illiliti Date: Sun, 6 Sep 2020 09:58:48 +0300 Subject: [PATCH] fix regression --- hooks/luks/luks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooks/luks/luks b/hooks/luks/luks index a096b07..3512392 100644 --- a/hooks/luks/luks +++ b/hooks/luks/luks @@ -25,7 +25,7 @@ for opt; do case "${opt%%=*}" in key | header) - copy_file "${opt#*=}" "/root/${opt%%=*}" 400 0 + copy_file "${opt#*=}" /root 400 0 sed "s|${opt#*=}|/root/${opt%%=*}|" \ "${tmpdir}/etc/tinyramfs/config" > "${tmpdir}/_"