diff options
| author | Evgeni Golov <evgeni@grml.org> | 2013-03-06 15:20:46 +0100 |
|---|---|---|
| committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 13:54:16 +0200 |
| commit | ac1719f138a34e2348051859080afd2f1fbd2429 (patch) | |
| tree | 76ce7d052b47fd30fadcbac08c64d48ed9d8e8a1 /scripts | |
| parent | deabeeebb6d02b144cc9002c14bb6fca33c95ceb (diff) | |
| download | live-boot-ac1719f138a34e2348051859080afd2f1fbd2429.tar.gz live-boot-ac1719f138a34e2348051859080afd2f1fbd2429.zip | |
Checking for ${overlay}, not ${device} when trying to close ${overlay}.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/boot/9990-overlay.sh | 2 |
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 |
