diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2019-06-14 11:06:10 +0200 |
---|---|---|
committer | UnicronNL <kim.sidney@gmail.com> | 2019-06-18 19:40:42 +0200 |
commit | 4afcb5e65d6c25615ec2b9459dd43399febeb9e1 (patch) | |
tree | 8df6f6e7fd985c1f2a3ef22a6363b8c8fd12b8df | |
parent | f50041c711a7b32f8c9fb23e538bcc6e65a3f309 (diff) | |
download | live-boot-4afcb5e65d6c25615ec2b9459dd43399febeb9e1.tar.gz live-boot-4afcb5e65d6c25615ec2b9459dd43399febeb9e1.zip |
fix if statements
-rwxr-xr-x | components/9990-misc-helpers.sh | 2 |
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 |