summaryrefslogtreecommitdiff
path: root/components/9990-misc-helpers.sh
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-06-24 22:03:20 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-06-24 22:03:20 +0200
commit4fe3c74f01f235ffff782cee513db638c8de2375 (patch)
treebfe23b48ae472120f75264496d73656dec89d7b0 /components/9990-misc-helpers.sh
parent91cee8cf99e548d74df95deb7794743c961bf010 (diff)
downloadlive-boot-4fe3c74f01f235ffff782cee513db638c8de2375.tar.gz
live-boot-4fe3c74f01f235ffff782cee513db638c8de2375.zip
Replacing variable used in one place only with explicit directory for simplicity.
Diffstat (limited to 'components/9990-misc-helpers.sh')
-rwxr-xr-xcomponents/9990-misc-helpers.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/components/9990-misc-helpers.sh b/components/9990-misc-helpers.sh
index 9312381..7cb2762 100755
--- a/components/9990-misc-helpers.sh
+++ b/components/9990-misc-helpers.sh
@@ -199,9 +199,9 @@ check_dev ()
if is_supported_fs ${fstype}
then
devuid=$(blkid -o value -s UUID "$devname")
- [ -n "$devuid" ] && grep -qs "\<$devuid\>" $tried && continue
+ [ -n "$devuid" ] && grep -qs "\<$devuid\>" /var/lib/live/boot/devices-already-tried-to-mount && continue
mount -t ${fstype} -o ro,noatime "${devname}" ${mountpoint} || continue
- [ -n "$devuid" ] && echo "$devuid" >> $tried
+ [ -n "$devuid" ] && echo "$devuid" >> /var/lib/live/boot/devices-already-tried-to-mount
if [ -n "${FINDISO}" ]
then