summaryrefslogtreecommitdiff
path: root/scripts/live
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/live')
-rwxr-xr-xscripts/live3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/live b/scripts/live
index f204a1e..7e748dc 100755
--- a/scripts/live
+++ b/scripts/live
@@ -1032,8 +1032,7 @@ check_dev ()
then
mount -t ${fstype} -o ro,noatime,nodiratime "${devname}" ${mountpoint} || continue
- if is_live_path ${mountpoint}
- if is_live_path $mountpoint && \
+ if is_live_path ${mountpoint} && \
([ "${skip_uuid_check}" ] || matches_uuid ${mountpoint})
then
echo ${mountpoint}