Fixing persistence-media option when no devices are attached.
authorTails developers <amnesia@boum.org>
Fri, 7 Dec 2012 21:30:27 +0000 (22:30 +0100)
committerDaniel Baumann <daniel@debian.org>
Fri, 7 Dec 2012 21:30:27 +0000 (22:30 +0100)
commit2f02d72b1816c4d8b59c10c56bd747f8f01e4d1e
tree020b145b85b360aa71063102092a1ac61b3cf6ad
parentc32e1b2f0f8cbf4a11d198824f463cf7f7455a76
Fixing persistence-media option when no devices are attached.

Earlier, if it was set to e.g. 'removable-usb' and no USB storage was
connected, $whitelistdev would be empty, which is interpreted like all
devices are ok by the rest of the code.
scripts/boot/9990-overlay.sh