summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEvgeni Golov <evgeni@grml.org>2013-03-06 15:20:46 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-05-06 13:54:16 +0200
commitac1719f138a34e2348051859080afd2f1fbd2429 (patch)
tree76ce7d052b47fd30fadcbac08c64d48ed9d8e8a1 /scripts
parentdeabeeebb6d02b144cc9002c14bb6fca33c95ceb (diff)
downloadlive-boot-ac1719f138a34e2348051859080afd2f1fbd2429.tar.gz
live-boot-ac1719f138a34e2348051859080afd2f1fbd2429.zip
Checking for ${overlay}, not ${device} when trying to close ${overlay}.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/boot/9990-overlay.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/boot/9990-overlay.sh b/scripts/boot/9990-overlay.sh
index 10054e8..c6de171 100755
--- a/scripts/boot/9990-overlay.sh
+++ b/scripts/boot/9990-overlay.sh
@@ -392,7 +392,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