Commit 274a9ffb authored by Jim Harris's avatar Jim Harris Committed by Konrad Sztyber
Browse files

setup.sh: redirect 'hash lsblk' output to /dev/null



We are checking if lsblk exists already, but when it
doesn't let's not emit that detail to the user.

Signed-off-by: default avatarJim Harris <james.r.harris@intel.com>
Change-Id: I34fedcc97fb7091229a11b2592cb7bd21a032b5b
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14834


Community-CI: Mellanox Build Bot
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: default avatarChangpeng Liu <changpeng.liu@intel.com>
parent dcf30711
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -207,7 +207,7 @@ function get_used_bdf_block_devs() {
	local blocks block blockp dev mount holder
	local used

	hash lsblk || return 1
	hash lsblk &> /dev/null || return 1
	blocks=($(get_block_dev_from_bdf "$bdf"))

	for block in "${blocks[@]}"; do