Merge branch 'debian': Imported 3.0~b6-1 from Debian Live
[live-boot-grml.git] / debian / patches / 35_fix_findiso_umount.patch
1 Purpose: make sure the ISO gets unmounted correctly when booted via findiso/toram
2
3 --- a/scripts/live
4 +++ b/scripts/live
5 @@ -1686,7 +1686,7 @@
6         then
7                 losetup -d /dev/loop0
8  
9 -               if is_mountpoint /live/findiso
10 +               if is_mountpoint /root/live/findiso
11                 then
12                         umount /root/live/findiso
13                         rmdir --ignore-fail-on-non-empty /root/live/findiso \