Skip to content

Commit

Permalink
Partially revert 09a79bd (fix crypt validation)
Browse files Browse the repository at this point in the history
  • Loading branch information
asciiprod committed Dec 5, 2024
1 parent a50e395 commit d7805b2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -826,7 +826,9 @@ if [ -n "$1" ]; then
if [ "${PART_MOUNT[$i]}" = "/" ]; then
HASROOT="true"
fi
test -n "${PART_CRYPT[$i]}"; CRYPT=$((1 - $?))
if [[ -n "${PART_CRYPT[$i]}" ]]; then
CRYPT=1
fi
done < /tmp/part_lines.tmp

# get encryption password
Expand Down

0 comments on commit d7805b2

Please sign in to comment.