summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/live3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/live b/scripts/live
index 23ba434..76b0be4 100755
--- a/scripts/live
+++ b/scripts/live
@@ -672,6 +672,9 @@ is_nice_device ()
elif echo "${sysfs_path}" | grep -q '^/block/vd[a-z]$'
then
return 0
+ elif echo ${sysfs_path} | grep -q "^/block/dm-"
+ then
+ return 0
fi
return 1