Improving robustness of findiso cleanup process.
authorTails developers <amnesia@boum.org>
Mon, 9 Apr 2012 17:21:36 +0000 (19:21 +0200)
committerDaniel Baumann <daniel@debian.org>
Mon, 4 Jun 2012 15:39:49 +0000 (17:39 +0200)
...by checking exactly the same directory as the one we are unmounting.

scripts/live

index 780c5de..f25fbad 100755 (executable)
@@ -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 \