summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTails developers <amnesia@boum.org>2012-04-09 19:21:36 +0200
committerDaniel Baumann <daniel@debian.org>2012-06-04 17:39:49 +0200
commit285412f944154e428f9da10f0e270aa85afe9276 (patch)
treeca5a338f988160e75e4cc9abf3050d39ce964c3d
parent8e5f30cd75feedd2ccbb56243a1b1baa49251af9 (diff)
downloadlive-boot-285412f944154e428f9da10f0e270aa85afe9276.tar.gz
live-boot-285412f944154e428f9da10f0e270aa85afe9276.zip
Improving robustness of findiso cleanup process.
...by checking exactly the same directory as the one we are unmounting.
-rwxr-xr-xscripts/live2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live b/scripts/live
index 780c5de..f25fbad 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1649,7 +1649,7 @@ mountroot ()
then
losetup -d /dev/loop0
- if is_mountpoint /live/findiso
+ if is_mountpoint /root/live/findiso
then
umount /root/live/findiso
rmdir --ignore-fail-on-non-empty /root/live/findiso \