aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina (Zero_Chaos) <zerochaos@gentoo.org>2017-08-08 10:40:20 -0400
committerRick Farina (Zero_Chaos) <zerochaos@gentoo.org>2017-08-08 10:40:20 -0400
commit5dbcdbb8a6c5ae3c8e919faff405dad843e34144 (patch)
treeba6d27d5ce28bc8c9dfc579bdb26fba450b71d40
parentand in the worlds longest test cycle, one missing double quote (diff)
downloadgenkernel-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.scripts2
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