[iproute2] configure: Fix to minor error caused by 377a09902a57 ("configure: Minor code cleanup")
diff mbox series

Message ID 20190101155421.22326-1-firasuke@gmail.com
State Accepted
Delegated to: stephen hemminger
Headers show
Series
  • [iproute2] configure: Fix to minor error caused by 377a09902a57 ("configure: Minor code cleanup")
Related show

Commit Message

Firas Khalil Khana Jan. 1, 2019, 3:54 p.m. UTC
Commit 377a09902a57 (lines 72 through 76) included a minor code cleanup
to configure, this caused the following error when running ./configure:

grep: grep: No such file or directory
grep: TC_CONFIG_XT: No such file or directory

This patch fixes the error shown above caused by commit 377a09902a57.

Signed-off-by: Firas Khalil Khana <firasuke@gmail.com>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch
diff mbox series

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