netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2] configure: fix typo in check_xt_old_internal_h
@ 2019-01-07 22:37 Dmitry V. Levin
  2019-01-07 23:31 ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: Dmitry V. Levin @ 2019-01-07 22:37 UTC (permalink / raw)
  To: Petr Vorel, Stephen Hemminger; +Cc: netdev

Fixes: 377a09902a57 ("configure: Minor code cleanup")
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index b85eb58b..45fcffb6 100755
--- a/configure
+++ b/configure
@@ -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
-- 
ldv

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-08  8:39 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-07 22:37 [PATCH iproute2] configure: fix typo in check_xt_old_internal_h Dmitry V. Levin
2019-01-07 23:31 ` Stephen Hemminger
2019-01-08  8:39   ` Petr Vorel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).