about summary refs log tree commit diff
path: root/installer.sh.in
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2013-05-19 10:49:28 +0200
committerJuan RP <xtraeme@gmail.com>2013-05-19 10:49:28 +0200
commitcb1b9f3ca94a1d5f0e0db515100928e0f2cb161b (patch)
tree963accea4c05ab03d95e346f9833e7a0006dcd69 /installer.sh.in
parentc1d11098c2aa98722e48d1ab5e8b9e3c6fd13f02 (diff)
downloadhrmpf-cb1b9f3ca94a1d5f0e0db515100928e0f2cb161b.tar.gz
hrmpf-cb1b9f3ca94a1d5f0e0db515100928e0f2cb161b.tar.xz
hrmpf-cb1b9f3ca94a1d5f0e0db515100928e0f2cb161b.zip
installer: quote a variable to avoid an error while unmounting target filesystems.
Diffstat (limited to 'installer.sh.in')
-rw-r--r--installer.sh.in2
1 files changed, 1 insertions, 1 deletions
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