commit:     262764a5ff8dd64a7b5b2b810783b31eae4bfa8b
Author:     Mihai Donțu <mihai.dontu <AT> gmail <DOT> com>
AuthorDate: Sat Apr 11 15:16:55 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Apr 11 19:40:32 2020 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=262764a5

defaults/initrd.scripts: minor syntax fix in bootstrapCD()

Fixes 621a5e46599 ("defaults/initrd.scripts: proper b2sum missing error")
Signed-off-by: Mihai Donțu <mihai.dontu <AT> gmail.com>
Closes: https://bugs.gentoo.org/717102
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 defaults/initrd.scripts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
index b5da21a..d4b159a 100644
--- a/defaults/initrd.scripts
+++ b/defaults/initrd.scripts
@@ -334,7 +334,7 @@ bootstrapCD() {
                        else
                                bad_msg "Unable to verify isoroot_b2sums due to 
missing b2sums"
                                bad_msg "Please use 'genkernel --b2sums' to 
generate initramfs"
-                               if [ -z "${checkfile" ]
+                               if [ -z "${checkfile}" ]
                                then
                                        bad_msg "Press any key to skip ..."
                                        read -n1 -s

Reply via email to