From: Daniel Kiper Date: Tue, 5 Jun 2018 11:04:04 +0000 (+0200) Subject: templates: Add missing "]" X-Git-Tag: grub-2.04-rc1~167 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba474d531a63850bf2e8e8c225ccd6f5e2a594e9;p=thirdparty%2Fgrub.git templates: Add missing "]" Commit 51be337 (templates: Update grub script template files) lacked one "]", so, add it. Reported-by: Philip Signed-off-by: Daniel Kiper --- diff --git a/util/grub.d/10_linux.in b/util/grub.d/10_linux.in index 146499f22..61ebd7dc7 100644 --- a/util/grub.d/10_linux.in +++ b/util/grub.d/10_linux.in @@ -49,7 +49,7 @@ GRUB_DISABLE_LINUX_PARTUUID=${GRUB_DISABLE_LINUX_PARTUUID-true} # btrfs may reside on multiple devices. We cannot pass them as value of root= parameter # and mounting btrfs requires user space scanning, so force UUID in this case. -if ( [ "x${GRUB_DEVICE_UUID}" = "x" ] && [ "x${GRUB_DEVICE_PARTUUID}" = "x" ) \ +if ( [ "x${GRUB_DEVICE_UUID}" = "x" ] && [ "x${GRUB_DEVICE_PARTUUID}" = "x" ] ) \ || ( [ "x${GRUB_DISABLE_LINUX_UUID}" = "xtrue" ] \ && [ "x${GRUB_DISABLE_LINUX_PARTUUID}" = "xtrue" ] ) \ || ( ! test -e "/dev/disk/by-uuid/${GRUB_DEVICE_UUID}" \