From cb1b9f3ca94a1d5f0e0db515100928e0f2cb161b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 19 May 2013 10:49:28 +0200 Subject: installer: quote a variable to avoid an error while unmounting target filesystems. --- installer.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer.sh.in b/installer.sh.in index 3f3afdd..c7809f8 100644 --- a/installer.sh.in +++ b/installer.sh.in @@ -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 -- cgit 1.4.1