installer: quote a variable to avoid an error while unmounting target filesystems.

This commit is contained in:
Juan RP 2013-05-19 10:49:28 +02:00
parent c1d11098c2
commit cb1b9f3ca9
1 changed files with 1 additions and 1 deletions

View File

@ -679,7 +679,7 @@ umount_filesystems() {
echo "Unmounting $TARGETDIR/$f..." >$LOG
umount $TARGETDIR/$f >$LOG 2>&1
done
local mnts=$(grep -E '^MOUNTPOINT.*$' $CONF_FILE)
local mnts="$(grep -E '^MOUNTPOINT.*$' $CONF_FILE)"
set -- ${mnts}
while [ $# -ne 0 ]; do
local dev=$2; local fstype=$3; local mntpt=$5