Skip to contentSkip to conversation

configure: Fix to minor error caused by 377a09902a57 ("configure: Minor code cleanup")

PATCH In review [email protected] 2 participants 2 messages Jan 1, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configure: Fix to minor error caused by 377a09902a57 ("configure: Minor code cleanup")

From: Firas Khalil Khana <[email protected]>

Fixes 377a09902a57 ("configure: Minor code cleanup")
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index b85eb58b..45fcffb6 100755
@@ -115,7 +115,7 @@ EOF
 check_xt_old_internal_h()
 {
     # bail if previous XT checks has already succeeded.
-    grep -q if grep -q TC_CONFIG_XT $CONFIG && return
+    grep -q TC_CONFIG_XT $CONFIG && return
 
     #check if we need our own internal.h
     cat >$TMPDIR/ipttest.c <<EOF
Signature · 1 line
2.20.1
#1 lore raw
Quoted 4 lines · On 01.01.2019 12:13, [email protected] wrote:

From: Firas Khalil Khana <[email protected]>

Fixes 377a09902a57 ("configure: Minor code cleanup")

I think the patch should be annotated iproute2 to make clear it's not about the kernel. And it's missing a description which issue was fixed.

Quoted 19 lines
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index b85eb58b..45fcffb6 100755
@@ -115,7 +115,7 @@ EOF
 check_xt_old_internal_h()
 {
     # bail if previous XT checks has already succeeded.
-    grep -q if grep -q TC_CONFIG_XT $CONFIG && return
+    grep -q TC_CONFIG_XT $CONFIG && return
 
     #check if we need our own internal.h
     cat >$TMPDIR/ipttest.c <<EOF