From cf0413f948778b3b511274ce45034d2e431a6828 Mon Sep 17 00:00:00 2001 From: oddlama Date: Thu, 23 Apr 2020 23:19:00 +0200 Subject: [PATCH] Forgot to remove a quote in output --- scripts/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils.sh b/scripts/utils.sh index c753ee5..1929d44 100644 --- a/scripts/utils.sh +++ b/scripts/utils.sh @@ -145,7 +145,7 @@ get_device_by_ptuuid() { || die "Error while executing lsblk to find PTUUID=$ptuuid" dev="$(grep "ptuuid=\"$ptuuid\" partuuid=\"\"" <<< "${dev,,}")" \ || die "Could not find PTUUID=... in lsblk output" - dev="${dev%' ptuuid='*}" + dev="${dev%'" ptuuid='*}" dev="${dev#'name="'}" echo -n "$dev" }