+4
−4
Loading
Make sure nvme-cli doesn't write anything to stdout since that's where the function returns ctrl devices. In newer releases of nvme-cli (e.g. 2.8), the following prompt is written to stdout upon successful connect: connecting to device: nvme0 Explicitly return from the function with proper status. Change-Id: Ic33c99eb3eabb7a69893596b9cde1a8ab91e2d03 Signed-off-by:Michal Berger <michal.berger@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/25410 Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Community-CI: Community CI Samsung <spdk.community.ci.samsung@gmail.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>