]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
templates: Add missing "]"
authorDaniel Kiper <daniel.kiper@oracle.com>
Tue, 5 Jun 2018 11:04:04 +0000 (13:04 +0200)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 5 Jun 2018 11:04:04 +0000 (13:04 +0200)
Commit 51be337 (templates: Update grub script template files)
lacked one "]", so, add it.

Reported-by: Philip <philm@manjaro.org>
Signed-off-by: Daniel Kiper <daniel.kiper@oracle.com>
util/grub.d/10_linux.in

index 146499f22fdd179ee88172fcc4b09e25c81307e1..61ebd7dc714e87aedb167345729f574426d69b77 100644 (file)
@@ -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}" \