From: Evgeni Golov <evg...@grml.org>

---
 scripts/boot/9990-overlay.sh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/boot/9990-overlay.sh b/scripts/boot/9990-overlay.sh
index 098111c..261b0a5 100755
--- a/scripts/boot/9990-overlay.sh
+++ b/scripts/boot/9990-overlay.sh
@@ -404,7 +404,7 @@ setup_unionfs ()
                # Close unused overlays (e.g. due to missing $persistence_list)
                for overlay in ${overlay_devices}
                do
-                       if echo ${used_overlays} | grep -qve "^\(.* 
\)\?${device}\( .*\)\?$"
+                       if echo ${used_overlays} | grep -qve "^\(.* 
\)\?${overlay}\( .*\)\?$"
                        then
                                close_persistence_media ${overlay}
                        fi
-- 
1.7.10.4


-- 
To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1362463193-1931-2-git-send-email-evg...@debian.org

Reply via email to