* util/grub-install.in: Fix condition for config_opt.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-11-05 12:15:07 +01:00
parent c2fd16cacb
commit 455377d93d
2 changed files with 5 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2011-11-05 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-install.in: Fix condition for config_opt.
2011-11-04 Vladimir Serbinenko <phcoder@gmail.com>
Support third redundancy strip on raidz3.

View file

@ -577,10 +577,9 @@ else
for uuid in "`"${grub_probe}" --device "${grub_device}" --target=cryptodisk_uuid`"; do
echo "cryptomount -u $uuid" >> "${grubdir}/load.cfg"
done
config_opt="-c ${grubdir}/load.cfg "
fi
config_opt="-c ${grubdir}/load.cfg "
prefix_drive=`"$grub_probe" --device-map="${device_map}" --target=drive --device "${grub_device}"` || exit 1
fi