commit:     d6663b5493579e33f311340b80da5a1fb0d7f6ed
Author:     Richard Yao <ryao <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 21 13:13:08 2015 +0000
Commit:     Richard Yao <ryao <AT> gentoo <DOT> org>
CommitDate: Mon Sep 21 13:13:30 2015 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=d6663b54

Fix missing `then` keyword

Signed-off-by: Richard Yao <ryao <AT> gentoo.org>

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

diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts
index d1bb0bc..d1c3873 100644
--- a/defaults/initrd.scripts
+++ b/defaults/initrd.scripts
@@ -1047,6 +1047,7 @@ startVolumes() {
                        mkdir -p /tmp/zfs
                        /sbin/mount.zfs -o ro,zfsutil "${REAL_ROOT#*=}" 
/tmp/zfs 2>&1 >/dev/null
                        if [ $? -ne 0 ]
+                       then
                                bad_msg "Failed to mount ${REAL_ROOT#*=}"
                                return 1
                        fi

Reply via email to