Skip to content

Commit

Permalink
Do not probe the device mounted on /live/image for persistence.
Browse files Browse the repository at this point in the history
  • Loading branch information
Tails developers committed Apr 9, 2012
1 parent 49f4d23 commit 78c2bc5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/live-helpers
Expand Up @@ -973,7 +973,9 @@ find_persistence_media ()
local white_listed_devices="${3}"
local ret=""

for dev in $(storage_devices "" "${white_listed_devices}")
local black_listed_devices="$(what_is_mounted_on /live/image)"

for dev in $(storage_devices "${black_listed_devices}" "${white_listed_devices}")
do
local result=""

Expand Down

0 comments on commit 78c2bc5

Please sign in to comment.