summaryrefslogtreecommitdiff
path: root/components/9990-misc-helpers.sh
diff options
context:
space:
mode:
Diffstat (limited to 'components/9990-misc-helpers.sh')
-rwxr-xr-xcomponents/9990-misc-helpers.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/9990-misc-helpers.sh b/components/9990-misc-helpers.sh
index 9dd7ef5..cfb1759 100755
--- a/components/9990-misc-helpers.sh
+++ b/components/9990-misc-helpers.sh
@@ -714,6 +714,7 @@ mount_persistence_media ()
fstype="$(get_fstype ${device})"
if [ "${fstype}" = "unknown" ]
+ then
return 1
fi
@@ -727,6 +728,7 @@ mount_persistence_media ()
for disk in ${disks[@]}; do
if [ "/dev/${disk}" = "${device}" ]
+ then
return 1
fi
done