Skip to content

Commit

Permalink
Update bootloader.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubhamvis98 authored Nov 4, 2024
1 parent 07253ee commit f801e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/bootloader.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ bootimg_offsets() {
echo "${ARGS}"
}

grep -P '^UUID.*[ \t]/[ \t]' /etc/fstab | awk '{print $1}'
ROOTPART=$(grep -P '^UUID.*[ \t]/[ \t]' /etc/fstab | awk '{print $1}')

if [ "${ROOTPART}" = "UUID=" ]; then
# This means we're using an encrypted rootfs
Expand Down

0 comments on commit f801e7c

Please sign in to comment.