aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--dpdk/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpdk/Makefile b/dpdk/Makefile
index f6f90e0d6ff..586d2425363 100644
--- a/dpdk/Makefile
+++ b/dpdk/Makefile
@@ -252,7 +252,7 @@ endif
RPM_ARCH=$(shell rpm --eval "%{_arch}" 2> /dev/null)
DEV_RPM=vpp-dpdk-devel-$(DPDK_VERSION)-$(PKG_SUFFIX).$(RPM_ARCH).rpm
-INSTALLED_RPM_VER=$(shell rpm -q --queryformat '%{VERSION}-%{RELEASE}' vpp-dpdk-devel | grep -v "not inst")
+INSTALLED_RPM_VER=$(shell rpm -q --queryformat '%{VERSION}-%{RELEASE}' vpp-dpdk-devel 2> /dev/null | grep -v "not inst")
.PHONY: build-rpm install-rpm check-rpm