summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2019-06-14 11:06:10 +0200
committerKim Hagen <kim.sidney@gmail.com>2019-06-14 11:06:10 +0200
commite21fd1e389238590fd0f7a8c0d581ea3a49b0b3b (patch)
tree949b0760fe25d1b77eb6abc2c98487b06adb7f66 /components
parent88a44d6deb1834832eb58c1819bc054d2970a729 (diff)
downloadlive-boot-e21fd1e389238590fd0f7a8c0d581ea3a49b0b3b.tar.gz
live-boot-e21fd1e389238590fd0f7a8c0d581ea3a49b0b3b.zip
fix if statements
Diffstat (limited to 'components')
-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