summaryrefslogtreecommitdiff
path: root/components/9990-misc-helpers.sh
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-21 23:10:55 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-21 23:10:55 +0200
commit678aa33e1047d6e35a10cca536de1c2589e61837 (patch)
tree345893267d11f99183da6f45c16bcb220dd8ce0d /components/9990-misc-helpers.sh
parent3986e11100f96dca19b911fa2244cd165330b3b4 (diff)
downloadlive-boot-678aa33e1047d6e35a10cca536de1c2589e61837.tar.gz
live-boot-678aa33e1047d6e35a10cca536de1c2589e61837.zip
9990-misc-helpers: fix indention
Diffstat (limited to 'components/9990-misc-helpers.sh')
-rwxr-xr-xcomponents/9990-misc-helpers.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/9990-misc-helpers.sh b/components/9990-misc-helpers.sh
index bb1cf21..38a87ac 100755
--- a/components/9990-misc-helpers.sh
+++ b/components/9990-misc-helpers.sh
@@ -719,15 +719,15 @@ mount_persistence_media ()
fi
raid_drives=$(cat /proc/partitions | awk '{ if ($4!="name") { print $4 } }' \
- | grep "md" | egrep -v "^$")
+ | grep "md" | egrep -v "^$")
for raid_drive in $raid_drives
do
- disks=`ls /sys/block/$raid_drive/slaves`
- for disk in ${disks}
+ disks=`ls /sys/block/$raid_drive/slaves`
+ for disk in ${disks}
do
if [ "/dev/${disk}" = "${device}" ]
- then
+ then
return 1
fi
done