diff --git a/bash/fs.sh b/bash/fs.sh index bf59782..9c1d122 100644 --- a/bash/fs.sh +++ b/bash/fs.sh @@ -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}"