From f801e7ceac9f2e90e1c0f0e23040d210b2fbf1ba Mon Sep 17 00:00:00 2001 From: Shubham Vishwakarma <43336210+Shubhamvis98@users.noreply.github.com> Date: Mon, 4 Nov 2024 13:42:04 +0530 Subject: [PATCH] Update bootloader.sh --- bin/bootloader.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/bootloader.sh b/bin/bootloader.sh index ea018c9..46b355a 100644 --- a/bin/bootloader.sh +++ b/bin/bootloader.sh @@ -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