Skip to content

Commit

Permalink
Adjusting whitespace to tabs on components/9990-misc-helpers.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
unixabg authored and daniel-baumann committed Aug 19, 2015
1 parent 396df49 commit 066426a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions components/9990-misc-helpers.sh
Expand Up @@ -114,7 +114,7 @@ check_dev ()
ISO_DEVICE=$(dirname ${ISO_DEVICE})
[ -b "$ISO_DEVICE" ] && break
i=$(($i -1))
done
done
fi

if [ "$ISO_DEVICE" = "/" ]
Expand Down Expand Up @@ -1074,18 +1074,18 @@ find_persistence_media ()
result=$(probe_for_file_name "${overlays}" ${dev})
if [ -n "${result}" ]
then
local loopdevice
local loopdevice
loopdevice=${result##*=}
if is_in_comma_sep_list luks ${PERSISTENCE_ENCRYPTION} && is_luks_partition ${loopdevice}
if is_in_comma_sep_list luks ${PERSISTENCE_ENCRYPTION} && is_luks_partition ${loopdevice}
then
local luksfile
local luksfile
luksfile=""
if luksfile=$(open_luks_device "${loopdevice}")
then
result=${result%%=*}
result=${result%%=*}
result="${result}=${luksfile}"
else
losetup -d $loopdevice
losetup -d $loopdevice
result=""
fi
fi
Expand Down

0 comments on commit 066426a

Please sign in to comment.