commit:     87de69ac88fb7b6e3f6424154d3721124793f024
Author:     Rick Farina (Zero_Chaos) <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue Nov  1 18:00:05 2016 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue Nov  1 18:00:05 2016 +0000
URL:        https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=87de69ac

fix for bug 598694

looks like a little typo, missing $ on an obvious check on two lines.
thanks to grknight for pointing it out

 defaults/linuxrc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/defaults/linuxrc b/defaults/linuxrc
index 72e1543..df2272b 100644
--- a/defaults/linuxrc
+++ b/defaults/linuxrc
@@ -322,7 +322,7 @@ case "${REAL_ROOT}" in
 esac
 
 # Verify that it is safe to use ZFS
-if [ "USE_ZFS" = "1" ]
+if [ "$USE_ZFS" = "1" ]
 then
        for i in /sbin/zfs /sbin/zpool
        do
@@ -334,7 +334,7 @@ then
                fi
        done
 
-       [ "USE_ZFS" = "1" ] && MY_HWOPTS="${MY_HWOPTS} zfs"
+       [ "$USE_ZFS" = "1" ] && MY_HWOPTS="${MY_HWOPTS} zfs"
 fi
 
 splash 'init'

Reply via email to