Преглед на файлове

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

Juan RP преди 12 години
родител
ревизия
cb1b9f3ca9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      installer.sh.in

+ 1 - 1
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