summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/live-helpers4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/live-helpers b/scripts/live-helpers
index ee59247..b90637a 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -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=""