Fixed regression on kexec-save-key

This commit is contained in:
Francis Lam 2017-07-12 00:43:08 -04:00
parent 22a52ec4b8
commit 2a9ca6fdba
No known key found for this signature in database
GPG Key ID: 0A59C698920806EB

View File

@ -45,7 +45,7 @@ if [ -n "$lvm_volume_group" ]; then
fi
rm -f $paramsdir/kexec_key_devices.txt || true
for dev in "$key_devices"; do
for dev in $key_devices; do
uuid=`cryptsetup luksUUID "$dev" 2>/dev/null` \
|| die "Failed to get UUID for device $dev"
echo "$dev $uuid" >> $paramsdir/kexec_key_devices.txt \