From e577f7aff449227e97bf02063866226e8e9d7c26 Mon Sep 17 00:00:00 2001 From: Yan Burman Date: Tue, 13 May 2014 08:25:02 +0000 Subject: [PATCH] iscsi: Make ofed detection logic less noisy as well as fix non MLNX_OFED compilation Proposed-by: Lev Vainblat Signed-off-by: Yan Burman git-svn-id: http://svn.code.sf.net/p/scst/svn/branches/iser@5519 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iscsi-scst/Makefile b/iscsi-scst/Makefile index 9e3d9e2be..dc27a41af 100644 --- a/iscsi-scst/Makefile +++ b/iscsi-scst/Makefile @@ -54,7 +54,7 @@ all: include/iscsi_scst_itf_ver.h progs mods ISER_SYMVERS:=$(KMOD)/Module.symvers OFED_CFLAGS:= -MLNX_OFED:=$(shell if ofed_info | grep MLNX_OFED 2>/dev/null; then echo true; else echo false; fi) +MLNX_OFED:=$(shell if ofed_info | grep MLNX_OFED >/dev/null 2>/dev/null; then echo true; else echo false; fi) ifeq ($(MLNX_OFED),true) # Whether MLNX_OFED for ubuntu has been installed