This commit is contained in:
Marc Beninca 2024-11-12 23:32:36 +01:00
parent 5e800b713d
commit c4f68fc29b
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -97,7 +97,7 @@ luks_format() {
set -- "${@}" --label "${label}"
fi
if [ -n "${uuid}" ]; then
set -- "${@}" --label "${uuid}"
set -- "${@}" --uuid "${uuid}"
fi
echo "${passphrase}" |
cryptsetup "${@}" luksFormat "${device}"