Forgot to remove a quote in output
This commit is contained in:
parent
b1c4d9d40e
commit
cf0413f948
|
@ -145,7 +145,7 @@ get_device_by_ptuuid() {
|
||||||
|| die "Error while executing lsblk to find PTUUID=$ptuuid"
|
|| die "Error while executing lsblk to find PTUUID=$ptuuid"
|
||||||
dev="$(grep "ptuuid=\"$ptuuid\" partuuid=\"\"" <<< "${dev,,}")" \
|
dev="$(grep "ptuuid=\"$ptuuid\" partuuid=\"\"" <<< "${dev,,}")" \
|
||||||
|| die "Could not find PTUUID=... in lsblk output"
|
|| die "Could not find PTUUID=... in lsblk output"
|
||||||
dev="${dev%' ptuuid='*}"
|
dev="${dev%'" ptuuid='*}"
|
||||||
dev="${dev#'name="'}"
|
dev="${dev#'name="'}"
|
||||||
echo -n "$dev"
|
echo -n "$dev"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue