Gentoo Archives: gentoo-commits

From: Richard Farina <zerochaos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: defaults/
Date: Tue, 01 Nov 2016 18:01:03
Message-Id: 1478023205.87de69ac88fb7b6e3f6424154d3721124793f024.zerochaos@gentoo
1 commit: 87de69ac88fb7b6e3f6424154d3721124793f024
2 Author: Rick Farina (Zero_Chaos) <zerochaos <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 1 18:00:05 2016 +0000
4 Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 1 18:00:05 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=87de69ac
7
8 fix for bug 598694
9
10 looks like a little typo, missing $ on an obvious check on two lines.
11 thanks to grknight for pointing it out
12
13 defaults/linuxrc | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/defaults/linuxrc b/defaults/linuxrc
17 index 72e1543..df2272b 100644
18 --- a/defaults/linuxrc
19 +++ b/defaults/linuxrc
20 @@ -322,7 +322,7 @@ case "${REAL_ROOT}" in
21 esac
22
23 # Verify that it is safe to use ZFS
24 -if [ "USE_ZFS" = "1" ]
25 +if [ "$USE_ZFS" = "1" ]
26 then
27 for i in /sbin/zfs /sbin/zpool
28 do
29 @@ -334,7 +334,7 @@ then
30 fi
31 done
32
33 - [ "USE_ZFS" = "1" ] && MY_HWOPTS="${MY_HWOPTS} zfs"
34 + [ "$USE_ZFS" = "1" ] && MY_HWOPTS="${MY_HWOPTS} zfs"
35 fi
36
37 splash 'init'