summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2019-06-14 11:06:10 +0200
committerUnicronNL <kim.sidney@gmail.com>2019-06-18 19:40:42 +0200
commit4afcb5e65d6c25615ec2b9459dd43399febeb9e1 (patch)
tree8df6f6e7fd985c1f2a3ef22a6363b8c8fd12b8df
parentf50041c711a7b32f8c9fb23e538bcc6e65a3f309 (diff)
downloadlive-boot-4afcb5e65d6c25615ec2b9459dd43399febeb9e1.tar.gz
live-boot-4afcb5e65d6c25615ec2b9459dd43399febeb9e1.zip
fix if statements
-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