diff options
author | Rick Farina (Zero_Chaos) <zerochaos@gentoo.org> | 2017-08-08 10:40:20 -0400 |
---|---|---|
committer | Rick Farina (Zero_Chaos) <zerochaos@gentoo.org> | 2017-08-08 10:40:20 -0400 |
commit | 5dbcdbb8a6c5ae3c8e919faff405dad843e34144 (patch) | |
tree | ba6d27d5ce28bc8c9dfc579bdb26fba450b71d40 | |
parent | and in the worlds longest test cycle, one missing double quote (diff) | |
download | genkernel-5dbcdbb8.tar.gz genkernel-5dbcdbb8.tar.bz2 genkernel-5dbcdbb8.zip |
double quotes are required if you expect to interpolate, putz
-rw-r--r-- | defaults/initrd.scripts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/defaults/initrd.scripts b/defaults/initrd.scripts index eb75d93..d8be990 100644 --- a/defaults/initrd.scripts +++ b/defaults/initrd.scripts @@ -1785,7 +1785,7 @@ strip_mount_options() checkzconfig() { if [ -r "/proc/config.gz" ]; then - if zcat /proc/config.gz | grep -E 'CONFIG_${1}=(m|y)' 1>/dev/null; + if zcat /proc/config.gz | grep -E "CONFIG_${1}=(m|y)" 1>/dev/null; then return 0 fi |