1 |
commit: d6663b5493579e33f311340b80da5a1fb0d7f6ed |
2 |
Author: Richard Yao <ryao <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 21 13:13:08 2015 +0000 |
4 |
Commit: Richard Yao <ryao <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 21 13:13:30 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=d6663b54 |
7 |
|
8 |
Fix missing `then` keyword |
9 |
|
10 |
Signed-off-by: Richard Yao <ryao <AT> gentoo.org> |
11 |
|
12 |
defaults/initrd.scripts | 1 + |
13 |
1 file changed, 1 insertion(+) |
14 |
|
15 |
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts |
16 |
index d1bb0bc..d1c3873 100644 |
17 |
--- a/defaults/initrd.scripts |
18 |
+++ b/defaults/initrd.scripts |
19 |
@@ -1047,6 +1047,7 @@ startVolumes() { |
20 |
mkdir -p /tmp/zfs |
21 |
/sbin/mount.zfs -o ro,zfsutil "${REAL_ROOT#*=}" /tmp/zfs 2>&1 >/dev/null |
22 |
if [ $? -ne 0 ] |
23 |
+ then |
24 |
bad_msg "Failed to mount ${REAL_ROOT#*=}" |
25 |
return 1 |
26 |
fi |